From 83673fb32032f4641e6d1ec12f2c2fb9c40bb214 Mon Sep 17 00:00:00 2001 From: Liviu Costea Date: Fri, 16 Oct 2020 19:52:21 +0300 Subject: [PATCH] feat: reduce image size without apk cache Signed-off-by: Liviu Costea --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e3b0413a..d9d050d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ WORKDIR / # experience when this doesn't work out of the box. # # OpenSSL is required so wget can query HTTPS endpoints for health checking. -RUN apk add --update ca-certificates openssl +RUN apk add --no-cache --update ca-certificates openssl USER 1001:1001