Преглед изворни кода

curator 2.1.1, smaller image

Ian Babrou пре 11 година
родитељ
комит
8cab50782b
2 измењених фајлова са 7 додато и 3 уклоњено
  1. 6 2
      Dockerfile
  2. 1 1
      README.md

+ 6 - 2
Dockerfile

@@ -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"]

+ 1 - 1
README.md

@@ -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.