Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz authored Oct 18, 2024
1 parent 7ad6b78 commit 4ad60ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions puppeteer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM node:18-slim

WORKDIR /usr/app

# Override the default yarn v1.22 version as shipped by the baseline node:18-slim image
ENV YARN_VERSION 4.4.1
RUN yarn policies set-version $YARN_VERSION

# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
# installs, work.
Expand All @@ -28,7 +24,7 @@ RUN chmod +x /usr/local/bin/dumb-init
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

# Enable corepack so that yarn can downloaded/installed during the CI run.
RUN corepack enable
RUN corepack enable && corepack install -g yarn@^4.4.1

# Add user so we don't need --no-sandbox.
RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
Expand Down

0 comments on commit 4ad60ee

Please sign in to comment.