Skip to content

Commit

Permalink
Fix build issues (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdfzcq authored Mar 18, 2024
1 parent e237efc commit 0f86cc0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions containers/runtime/driver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ RUN apt-get update && apt-get install -y \
python3-setuptools \
python3-yaml

RUN 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 && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && apt-get update -y && apt-get install google-cloud-sdk -y
RUN 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 && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && \
apt-get update -y && apt-get install google-cloud-cli -y

RUN apt-get clean

Expand Down

0 comments on commit 0f86cc0

Please sign in to comment.