mirror of
https://github.com/Febbweiss/docker-curator.git
synced 2026-03-04 22:35:37 +00:00
Remove pip and apk cache in Dockerfile
Reduce the footprint of this repository even further (from ~50MiB to ~43MiB) by removing pip and the apk cache at the end of the build.
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
FROM alpine:3.2
|
FROM alpine:3.2
|
||||||
|
|
||||||
RUN apk --update add python py-pip && \
|
RUN apk --update add python py-pip && \
|
||||||
pip install elasticsearch-curator==3.4.0
|
pip install elasticsearch-curator==3.4.0 && \
|
||||||
|
apk del py-pip && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/curator"]
|
ENTRYPOINT ["/usr/bin/curator"]
|
||||||
|
|||||||
Reference in New Issue
Block a user