collection.dockerfile/alpine/gcloudcli/Dockerfile
2022-01-18 14:11:26 +08:00

10 lines
405 B
Docker

FROM alpine
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"]