-
Notifications
You must be signed in to change notification settings - Fork 135
I'm trying to build chrome image but encountered error #657
Comments
@linjin-harvey don't get. Exactly what command fails in Dockerfile? |
@vania-pooh This is my command: ./images chrome -b 120.0.6099.109 -d 120.0.6099.713 -t selenoid/chrome:120.0 Then it shows: E: Version '120.0.6099.109' for 'google-chrome-stable' was not found Please help to correct my commad, my purpose is to build chrome 120 and related 120 chromederiver image |
Same problem when I was using 119.0.6045.105-1 as chrome version |
@vania-pooh We have strict security policy so we need to upgrade our browser regular ASAS there is new version of chrome, but we cannot run our automation scripts without new version selenoid chrome image, that is why I want to figure out how I can build the image by myself. |
@linjin-harvey Chrome team automatically removes previous version of Deb package when new version is released. |
@vania-pooh Seems need to update Dockerfile to add below package as dependency of google chrome stable #5 133.2 Unpacking google-chrome-stable (120.0.6099.109-1) ... |
close |
close |
1 similar comment
close |
Command:
./images chrome -b 120.0.6099.109 -d 120.0.6099.713 -t selenoid/chrome:120.0
output:
2023/12/19 14:47:55 running command: docker build -t selenoid/dev_chrome:120.0.6099.109 --build-arg VERSION=120.0.6099.109 /var/folders/8f/7yjdzn9x55j8q5wf_pxbjjqw0000gn/T/images1521086691/chrome/apt
[+] Building 21.2s (5/5) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 854B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/browsers/base:7.4.1 20.4s
=> CACHED [1/2] FROM docker.io/browsers/base:7.4.1@sha256:69ce9a067c3c4700251c609cde7c2066f307c3b94c7aac35c9353c774825e239 0.0s
=> ERROR [2/2] RUN curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo 'deb [arch=amd64] https://dl.goog 0.7s
executor failed running [/bin/sh -c curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo 'deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google.list && apt-get update && apt-get -y --no-install-recommends install iproute2 $PACKAGE=$VERSION && sed -i -e 's@exec -a "$0" "$HERE/chrome"@& --no-sandbox --disable-gpu@' /opt/google/$INSTALL_DIR/google-chrome && chown root:root /opt/google/$INSTALL_DIR/chrome-sandbox && chmod 4755 /opt/google/$INSTALL_DIR/chrome-sandbox && google-chrome --version && rm -Rf /tmp/* && rm -Rf /var/lib/apt/lists/*]: exit code: 2
2023/12/19 14:48:17 command error: build dev image: command execution error: exit status 1
The text was updated successfully, but these errors were encountered: