From 94edc4b08008649437eeb9768027ca858110d711 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Thu, 23 Nov 2017 09:37:18 +0100 Subject: [PATCH] bump alpine version, switch to --no-cache You can use the --no-cache option to apk, then you don't have to delete the package cache afterwards. All the best, Benjamin --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6c5915..8b5a17a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -FROM alpine:3.4 +FROM alpine:3.6 -RUN apk --update add python py-setuptools py-pip && \ +RUN apk --no-cache add python py-setuptools py-pip && \ pip install elasticsearch-curator==5.2.0 && \ pip install requests-aws4auth && \ - apk del py-pip && \ - rm -rf /var/cache/apk/* + apk del py-pip USER nobody:nobody ENTRYPOINT ["/usr/bin/curator"]