소스 검색

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.