-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Intellection/bump-curator-version
Bump curator version.
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM alpine:3.10.3 | ||
ARG PYVER=3.11.7 | ||
ARG ALPTAG=3.18 | ||
FROM python:${PYVER}-alpine${ALPTAG} | ||
|
||
LABEL maintainer "Zappi DevOps <devops@zappistore.com>" | ||
LABEL maintainer "Zappi Site Reliability Engineering (SRE) <sre@zappistore.com>" | ||
|
||
ARG APP_DEPS="python py-setuptools" | ||
ARG BUILD_DEPS="py-pip" | ||
ARG CURATOR_VERSION="5.8.1" | ||
ARG CURATOR_VERSION="8.0.10" | ||
|
||
RUN apk --update add ${APP_DEPS} ${BUILD_DEPS} && \ | ||
pip install elasticsearch-curator==${CURATOR_VERSION} && \ | ||
apk del ${BUILD_DEPS} && \ | ||
rm -rf /var/cache/apk/* | ||
RUN pip3 install elasticsearch-curator==${CURATOR_VERSION} | ||
|
||
USER nobody:nobody | ||
ENTRYPOINT ["/usr/bin/curator"] | ||
ENTRYPOINT ["/usr/local/bin/curator"] |