From 442ac78f210cf32202f7c1dbfb2beffef08e4fb0 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Thu, 9 Nov 2017 10:22:13 +0100 Subject: [PATCH] remove apk cache if you do not need to update the image before using it, i suggest you just add packages with --no-cache. All the best, Benjamin --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87f5055..231bd70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM alpine:3.6 -RUN apk add --update curl && \ - rm -rf /var/cache/apk/* +RUN apk --no-cache curl ENTRYPOINT ["/usr/bin/curl"]