Skip to content

Commit

Permalink
Remove apk cache after install
Browse files Browse the repository at this point in the history
Saves about a meg from the image size. And I added a .dockerignore file,
because why not.
  • Loading branch information
leedm777 committed Feb 11, 2016
1 parent 0cf4dfc commit 1fa8ca6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
@@ -0,0 +1 @@
.git
3 changes: 2 additions & 1 deletion Dockerfile
@@ -1,5 +1,6 @@
FROM gliderlabs/alpine:latest

RUN apk update && apk add curl
RUN apk add --update curl && \
rm -rf /var/cache/apk/*

ENTRYPOINT ["/usr/bin/curl"]

0 comments on commit 1fa8ca6

Please sign in to comment.