Merge pull request #2036 from alixander/update-node

ci: update docker node
This commit is contained in:
Alexander Wang 2024-08-01 17:39:06 -06:00 committed by GitHub
commit 9d943da732
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,9 +5,9 @@ ARG TARGETARCH
RUN apt-get update && apt-get install -y ca-certificates curl dumb-init sudo
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash -s - && \
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -s - && \
apt-get install -y nodejs
RUN npx playwright@1.31.1 install --with-deps chromium
RUN npx playwright@1.45.3 install --with-deps chromium
RUN adduser --gecos '' --disabled-password debian \
&& echo "debian ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd