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

Documentation about puppeteer in Docker only works on x86_64 #4731

Closed
mvanaltvorst opened this issue Jul 19, 2019 · 5 comments
Closed

Documentation about puppeteer in Docker only works on x86_64 #4731

mvanaltvorst opened this issue Jul 19, 2019 · 5 comments

Comments

@mvanaltvorst
Copy link

Steps to reproduce

Tell us about your environment:

What steps will reproduce the problem?
Visit https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker, notice the following line:

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 ttf-freefont \
      --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

in particular, notice this:

sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

This does not work on ARM ([arch=amd64]), though this is mentioned nowhere in the documentation.

What is the expected result?
The documentation makes clear that this only works on x86_64, or, even better, the documentation gives instructions for puppeteer in docker on ARM.

What happens instead?
The documentation is incomplete.

@mvanaltvorst mvanaltvorst changed the title Documentation about puppeteer in docker only works on x86_64 Documentation about puppeteer in Docker only works on x86_64 Jul 19, 2019
@mvanaltvorst
Copy link
Author

ARMv6 will have to be excluded since Chromium won't compile on there, though I think supporting ARMv7 shouldn't be any problem.

@FezVrasta
Copy link

What's the situation now that Apple switched to ARM? Any chance we'll be able to run Puppeteer on a Docker container on Apple Silicon?

@davidbielik
Copy link

@FezVrasta were you ever able to get puppeteer running in Docker on Apple Silicon M1?

I can't and waiting to see if #7546 is related

@ReDrUm
Copy link

ReDrUm commented Jun 21, 2022

I would expect something like deb [arch=$TARGETARCH] although it's legitimately not available for that arch

@stale
Copy link

stale bot commented Aug 30, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants