collection.dockerfile/alpine/gcloudcli/Dockerfile

10 lines
410 B
Docker
Raw Normal View History

2022-05-24 23:36:14 +08:00
FROM alpine:3.16
2022-01-18 14:11:26 +08:00
ENV container docker
RUN apk update; apk upgrade; apk add jq bash wget curl python3 sqlite
RUN wget -q -O- https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-368.0.0-linux-x86_64.tar.gz | tar zxf -
COPY *.sh /root/
RUN chmod 755 /root/*.sh
RUN /google-cloud-sdk/install.sh -q
RUN echo 'export PATH=/google-cloud-sdk/bin:$PATH' > /root/.bashrc
ENTRYPOINT ["/bin/bash"]