Open JeffMathewSyngenta opened 1 year ago
Got the same issue, but works well in :with-node
Need to update the README but 100-with-puppeteer
is a 1 year old image built when Chromium with in version 100.
On the opposite with-puppeteer
is the latest build of the image and at the current time it's built on top of alpine 3.17 with Chromium 112.
Between the 2 versions, a lot of upgrades and cleanup has been made on the use of alpine repositories.
So if you can and it fixes the issue, please use a more recent version of the image: https://hub.docker.com/r/zenika/alpine-chrome/tags?name=with-puppeteer
Describe the bug There is a segmentation fault that occurs during
apk upgrade
.To Reproduce
docker run -it --user root zenika/alpine-chrome:100-with-puppeteer /bin/sh
apk update
apk upgrade
This can also be reproduced by the following dockerfile
What is the expected behavior? No seg fault What is the actual behavior? seg fault Further calls to
apk
binary fail. Eg:apk list
Possible solution Switching to
zenika/alpine-chrome:with-puppeteer
shows no error with the above reproduction steps. This is strange because I think these tags reference the same image?Logs
Versions This problem repros in two host setups:
Windows Host Windows 11 Pro 22H2 22621.1555
Docker version 20.10.21, build baeda1f
CircleCi ubuntu-2204:2023.02.1 Docker version 20.10.23, build 7155243 Linux 5.15.0-1028-aws #32-Ubuntu SMP Mon Jan 9 12:28:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux