curator 2.1.1, smaller image

This commit is contained in:
Ian Babrou
2015-01-11 12:19:42 +03:00
parent 4a3883f7a0
commit 8cab50782b
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
FROM google/python:2.7
FROM debian:wheezy
MAINTAINER Ian Babrou <ibobrik@gmail.com>
RUN pip install elasticsearch-curator==2.0.2
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install --no-install-recommends -y python2.7 python-pip
RUN pip install elasticsearch-curator==2.1.1
ENTRYPOINT ["/usr/bin/python", "/usr/local/lib/python2.7/dist-packages/curator/curator_script.py"]

View File

@@ -11,7 +11,7 @@ This image keeps up to date with curator releases and has tags in docker registr
Image entrypoint is set to curator script, so just run the image:
```
docker run --rm bobrik/curator:2.0.2 --help
docker run --rm bobrik/curator:2.1.0 --help
```
Pick whatever version you need.