mirror of
https://github.com/Febbweiss/docker-curator.git
synced 2026-03-04 22:35:37 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c64b9822a0 |
12
Dockerfile
12
Dockerfile
@@ -1,10 +1,6 @@
|
||||
FROM debian:wheezy
|
||||
MAINTAINER Ian Babrou <ibobrik@gmail.com>
|
||||
FROM alpine:3.1
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get install --no-install-recommends -y python2.7 python-pip
|
||||
RUN apk --update add python py-pip && \
|
||||
pip install elasticsearch-curator==3.0.1
|
||||
|
||||
RUN pip install elasticsearch-curator==2.1.1
|
||||
|
||||
ENTRYPOINT ["/usr/bin/python", "/usr/local/lib/python2.7/dist-packages/curator/curator_script.py"]
|
||||
ENTRYPOINT ["/usr/bin/curator"]
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
# 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
|
||||
|
||||
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
|
||||
|
||||
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.1 --help
|
||||
```
|
||||
|
||||
Pick whatever version you need.
|
||||
|
||||
Reference in New Issue
Block a user