diff --git a/static/chrome/apt/Dockerfile b/static/chrome/apt/Dockerfile index a33b4e396..9507fd645 100644 --- a/static/chrome/apt/Dockerfile +++ b/static/chrome/apt/Dockerfile @@ -11,7 +11,7 @@ RUN \ 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/chrome/google-chrome && \ + sed -i -e 's@exec -a "$0" "$HERE/chrome"@& --no-sandbox --disable-gpu@' /opt/google/$INSTALL_DIR/$PACKAGE && \ chown root:root /opt/google/$INSTALL_DIR/chrome-sandbox && \ chmod 4755 /opt/google/$INSTALL_DIR/chrome-sandbox && \ google-chrome --version && \ diff --git a/static/chrome/local/Dockerfile b/static/chrome/local/Dockerfile index c2e72acfa..9c15079fb 100644 --- a/static/chrome/local/Dockerfile +++ b/static/chrome/local/Dockerfile @@ -53,7 +53,7 @@ RUN \ curl -O http://host.docker.internal:8080/google-chrome.deb && \ apt-get -y purge curl && \ dpkg -i google-chrome.deb && \ - sed -i -e 's@exec -a "$0" "$HERE/chrome"@& --no-sandbox --disable-gpu@' /opt/google/$INSTALL_DIR/google-chrome && \ + sed -i -e 's@exec -a "$0" "$HERE/chrome"@& --no-sandbox --disable-gpu@' /opt/google/$INSTALL_DIR/$PACKAGE && \ rm google-chrome.deb && \ chown root:root /opt/google/$INSTALL_DIR/chrome-sandbox && \ chmod 4755 /opt/google/$INSTALL_DIR/chrome-sandbox && \