Skip to content

Commit e40b890

Browse files
committed
Fix downloading Bazel key
1 parent 869330e commit e40b890

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD 1
77
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
88
ENV BIN_DIRECTORY=/usr/local/bin
99

10-
RUN apt update && apt install gnupg -y
10+
RUN curl https://bazel.build/bazel-release.pub.gpg >> /tmp/bazel.key && apt-key add /tmp/bazel.key && \
11+
apt update && apt install gnupg -y
1112

12-
RUN curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - && \
13-
apt install software-properties-common dirmngr -y
13+
RUN apt install software-properties-common dirmngr -y
1414

1515
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
1616
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \

0 commit comments

Comments
 (0)