mirror of
https://github.com/Febbweiss/docker-curator.git
synced 2026-03-05 06:45:38 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e991f7836a | ||
|
|
1760f5236b | ||
|
|
c64b9822a0 |
12
Dockerfile
12
Dockerfile
@@ -1,10 +1,6 @@
|
|||||||
FROM debian:wheezy
|
FROM alpine:3.1
|
||||||
MAINTAINER Ian Babrou <ibobrik@gmail.com>
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apk --update add python py-pip && \
|
||||||
apt-get -y upgrade && \
|
pip install elasticsearch-curator==3.0.3
|
||||||
apt-get install --no-install-recommends -y python2.7 python-pip
|
|
||||||
|
|
||||||
RUN pip install elasticsearch-curator==2.1.1
|
ENTRYPOINT ["/usr/bin/curator"]
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/python", "/usr/local/lib/python2.7/dist-packages/curator/curator_script.py"]
|
|
||||||
|
|||||||
@@ -1,17 +1,20 @@
|
|||||||
# Curator in docker
|
# Curator in docker
|
||||||
|
|
||||||
This is dockerized version of elasticsearch curator, tool to manage time-based indices.
|
This is dockerized version of elasticsearch curator,
|
||||||
|
tool to manage time-based indices.
|
||||||
|
|
||||||
## Why this image
|
## Why this image
|
||||||
|
|
||||||
This image keeps up to date with curator releases and has tags in docker registry!
|
This image keeps up to date with curator releases and has tags
|
||||||
|
in the docker registry. It is also based on minimal `alpine` image,
|
||||||
|
resulting in just 50mb image.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Image entrypoint is set to curator script, so just run the image:
|
Image entrypoint is set to curator script, so just run the image:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm bobrik/curator:2.1.0 --help
|
docker run --rm bobrik/curator:3.0.3 --help
|
||||||
```
|
```
|
||||||
|
|
||||||
Pick whatever version you need.
|
Pick whatever version you need.
|
||||||
|
|||||||
Reference in New Issue
Block a user