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

docker build fails due to chrome version #68

Closed
kirinnee opened this issue Oct 8, 2020 · 2 comments · Fixed by #71
Closed

docker build fails due to chrome version #68

kirinnee opened this issue Oct 8, 2020 · 2 comments · Fixed by #71

Comments

@kirinnee
Copy link

kirinnee commented Oct 8, 2020

Dockerfile

ENV CHROMEDRIVER_VERSION 85.0.4183.87
ENV CHROME_VERSION 85.0.4183.121-1

Error Logs:

Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Get:4 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1074 B]
Hit:5 http://deb.debian.org/debian buster-updates InRelease
Fetched 2885 B in 1s (5476 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '85.0.4183.121-1' for 'google-chrome-stable' was not found
The command '/bin/sh -c groupadd -g ${GID} -r app && adduser --system --home /home/app --ingroup app --uid ${UID} app &&     chown -R app:app /usr/src/app &&     apt-get update &&     apt-get install -y curl unzip gnupg &&     curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &&     echo "deb [arch=amd64]  http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list &&     apt-get update &&     apt-get install -y google-chrome-stable=${CHROME_VERSION} &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
@zefj
Copy link

zefj commented Oct 8, 2020

@kirinnee changing CHROME_VERSION to 86.0.4240.75-1 worked for me

@JuliaCao
Copy link

JuliaCao commented Oct 8, 2020

duplicate of #58

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 a pull request may close this issue.

3 participants