Skip to content

Commit cef92be

Browse files
authored
Update GPG key per documentation (#1206)
1 parent dd3762e commit cef92be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ RUN pip uninstall -y horovod && \
5353
/tmp/clean-layer.sh
5454
{{ end }}
5555

56+
# Update GPG key per documentation at https://cloud.google.com/compute/docs/troubleshooting/known-issues
57+
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
58+
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
59+
5660
# Use a fixed apt-get repo to stop intermittent failures due to flaky httpredir connections,
5761
# as described by Lionel Chan at http://stackoverflow.com/a/37426929/5881346
5862
RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list && \

0 commit comments

Comments
 (0)