Skip to content

Commit

Permalink
Change base image to Alpine Linux
Browse files Browse the repository at this point in the history
Change base image to google/cloud-sdk:alpine caused a decrease
result docker image size
  • Loading branch information
p1gmale0n committed Jul 3, 2018
1 parent 28cf1cf commit 04e87a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM google/cloud-sdk
RUN apt-get -y install curl
FROM google/cloud-sdk:alpine
RUN apk add --no-cache curl coreutils
COPY google-cloud-auto-snapshot.sh /opt/google-cloud-auto-snapshot.sh
COPY entrypoint.sh /opt/entrypoint.sh
ENTRYPOINT /opt/entrypoint.sh

0 comments on commit 04e87a7

Please sign in to comment.