Sfoglia il codice sorgente

Merge pull request #25 from ben-st/patch-1

bump alpine version, switch to --no-cache
Ivan Babrou 8 anni fa
parent
commit
10783cfded
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 3 4
      Dockerfile

+ 3 - 4
Dockerfile

@@ -1,11 +1,10 @@
-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.4.0 && \
     pip install boto3 && \
     pip install requests-aws4auth && \
-    apk del py-pip && \
-    rm -rf /var/cache/apk/*
+    apk del py-pip
 
 USER nobody:nobody
 ENTRYPOINT ["/usr/bin/curator"]