Skip to content

Commit

Permalink
add gcloud cli (for gcs storage cp)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Jul 22, 2024
1 parent 14e4f1a commit 47ee1c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM python:bullseye as python

#install gcloud cli
RUN apt-get update \
&& apt-get install -y apt-transport-https ca-certificates gnupg curl \
&& 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 | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && apt-get update -y && apt-get install google-cloud-cli -y


#install java from Amazon corretto
ARG version=8.402.08-1
Expand All @@ -15,7 +20,7 @@ ARG version=8.402.08-1
RUN set -eux \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
curl ca-certificates gnupg software-properties-common fontconfig java-common \
curl gnupg software-properties-common fontconfig java-common \
&& curl -fL https://apt.corretto.aws/corretto.key | apt-key add - \
&& add-apt-repository 'deb https://apt.corretto.aws stable main' \
&& mkdir -p /usr/share/man/man1 || true \
Expand Down

0 comments on commit 47ee1c1

Please sign in to comment.