mirror of
https://github.com/Febbweiss/docker-curator.git
synced 2026-03-05 06:45:38 +00:00
Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ddccae0c7 | ||
|
|
10783cfded | ||
|
|
7d0fee7a67 | ||
|
|
7db7562586 | ||
|
|
88bd6eba6a | ||
|
|
965f8caa7c | ||
|
|
94edc4b080 | ||
|
|
90e39b4d93 | ||
|
|
4c6fbe62a2 | ||
|
|
4a6d46bb4c | ||
|
|
07e96e9ebb | ||
|
|
b8618822c2 | ||
|
|
8dbe4fe949 | ||
|
|
8b21401758 | ||
|
|
90e5da42a3 | ||
|
|
69bfe3f7e4 | ||
|
|
c7693168aa | ||
|
|
fc9212e6bb | ||
|
|
8b88da9ea1 | ||
|
|
6281db1564 | ||
|
|
e4e4c9deba | ||
|
|
ff903609f0 | ||
|
|
9e2b29c678 | ||
|
|
db3add8393 | ||
|
|
e4b4e17893 | ||
|
|
1ddd265746 | ||
|
|
744acb1909 | ||
|
|
ac42795a5c |
16
Dockerfile
16
Dockerfile
@@ -1,8 +1,14 @@
|
|||||||
FROM alpine:3.4
|
FROM alpine:3.6
|
||||||
|
|
||||||
RUN apk --update add python py-setuptools py-pip && \
|
RUN apk --no-cache add python py-setuptools py-pip gcc libffi py-cffi python-dev libffi-dev py-openssl musl-dev linux-headers openssl-dev && \
|
||||||
pip install elasticsearch-curator==4.0.3 && \
|
pip install elasticsearch-curator==5.4.0 && \
|
||||||
apk del py-pip && \
|
pip install requests-aws4auth==0.9 && \
|
||||||
rm -rf /var/cache/apk/*
|
pip install cryptography==2.1.3 && \
|
||||||
|
apk del py-pip gcc python-dev libffi-dev musl-dev linux-headers openssl-dev && \
|
||||||
|
sed -i '/import sys/a urllib3.contrib.pyopenssl.inject_into_urllib3()' /usr/bin/curator && \
|
||||||
|
sed -i '/import sys/a import urllib3.contrib.pyopenssl' /usr/bin/curator && \
|
||||||
|
sed -i '/import sys/a import urllib3' /usr/bin/curator
|
||||||
|
|
||||||
|
USER nobody:nobody
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/curator"]
|
ENTRYPOINT ["/usr/bin/curator"]
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ resulting in a just 50mb image.
|
|||||||
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:4.0.3 --help
|
docker run --rm bobrik/curator:4.0.4 --help
|
||||||
```
|
```
|
||||||
|
|
||||||
Pick whatever version you need.
|
Pick whatever version you need.
|
||||||
|
|||||||
Reference in New Issue
Block a user