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
This commit is contained in:
Stan Hu 2019-04-12 00:46:17 -07:00
parent 74eb85120e
commit 84d6dd3ea3
1 changed files with 1 additions and 1 deletions

View File

@ -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 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