# Run everything after as non-privileged user.ĮNV PUPPETEER_EXECUTABLE_PATH "/usr/bin/google-chrome-unstable"ĬOPY bin/Release/netcoreapp2. & chown -R pptruser:pptruser /home/pptruser RUN groupadd -r pptruser & useradd -r -g pptruser -G audio,video pptruser \ # same layer as npm install to keep re-chowned files from using up several hundred MBs more space # Add user, so we don't need -no-sandbox. NET port of the official Node.JS Puppeteer API. puppeteer-sharp has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. & apt-get install -y /tmp/b -no-install-recommends -allow-downgrades fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \ puppeteer-sharp is a C library typically used in Testing, UI Testing applications. # Uncomment to skip the chromium download when installing puppeteer. # uncomment the following lines to have `dumb-init` as PID 1 # If running Docker >= 1.13.0 use docker run's -init arg to reap zombie processes, otherwise & apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \ & sh -c 'echo "deb stable main" > /etc/apt//google.list' \ # Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer # Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |