Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Fix unsigned repository issue of GCP SDK (close #154)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Oct 29, 2020
1 parent fff6073 commit 292ccf5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions k8s-dataflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ LABEL MAINTAINER="Snowplow Analytics Ltd. <[email protected]>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN \
mkdir -p /var/lib/apt/lists/partial &&\
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list &&\
apt-get update &&\
apt-get install -y --no-install-recommends apt-transport-https=1.4.10 ca-certificates=20200601~deb9u1 wget=1.18-5+deb9u3 gnupg=2.1.18-8~deb9u4 &&\
wget -O - http://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - &&\
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list &&\
apt-get install -y --no-install-recommends apt-transport-https=1.8.2.1 ca-certificates=20200601~deb10u1 gnupg=2.2.12-1+deb10u1 curl=7.64.0-4+deb10u1 &&\
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - &&\
apt-get update &&\
apt-get install -y --no-install-recommends python=2.7.13-2 google-cloud-sdk=302.0.0-0 &&\
apt-get install -y --no-install-recommends google-cloud-sdk=316.0.0-0 &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/* &&\
apt-get purge -y --auto-remove gnupg
Expand Down

0 comments on commit 292ccf5

Please sign in to comment.