Commit 84d6dd3e authored by Stan Hu's avatar Stan Hu

Allow unauthenticated downloads of Chrome

The Google GPG key used to sign the apt repository expired today, so all
installs will fail unless `--allow-unauthenticated` is used. We should
revert this once the repository has been updated with the more recent
key.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60441
parent 74eb8512
...@@ -30,7 +30,7 @@ RUN wget -q https://download.docker.com/linux/static/stable/x86_64/docker-17.09. ...@@ -30,7 +30,7 @@ RUN wget -q https://download.docker.com/linux/static/stable/x86_64/docker-17.09.
# #
RUN curl -sS -L https://dl.google.com/linux/linux_signing_key.pub | apt-key add - RUN curl -sS -L https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
RUN apt-get update -q && apt-get install -y google-chrome-stable && apt-get clean RUN apt-get update -q && apt-get install -y --allow-unauthenticated google-chrome-stable && apt-get clean
## ##
# Install chromedriver to make it work with Selenium # Install chromedriver to make it work with Selenium
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment