Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set engines requirements to v8.15.0 so that pupeteer can run on Codeship #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slaruee
Copy link

@slaruee slaruee commented Jan 22, 2020

# https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update \
  && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \
  --no-install-recommends \
  && rm -rf /var/lib/apt/lists/*

# https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
  // https://github.com/puppeteer/puppeteer/issues/3443
  const browser = await puppeteer.launch(
    process.env.CI_NAME === 'codeship'
      ? {
          args: ['--no-sandbox'],
          executablePath:
            'google-chrome-unstable' /*  https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker */,
        }
      : undefined
  );

@slaruee slaruee changed the title Update package.json set engines requirements to v8.15.0 so that pupeteer can run on Codeship Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant