Skip to content

Commit 33bf2bf

Browse files
authored
Merge pull request #4 from Intellection/update_version
Upgrade curator to v5.8.1
2 parents b519187 + 7d1db7d commit 33bf2bf

File tree

4 files changed

+39
-16
lines changed

4 files changed

+39
-16
lines changed

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
3+
references:
4+
environment: &environment
5+
IMAGE_NAME: "zappi/elasticsearch-curator"
6+
7+
jobs:
8+
test:
9+
docker:
10+
- image: docker:18.06.3-ce-git
11+
environment: *environment
12+
steps:
13+
- checkout
14+
- setup_remote_docker:
15+
docker_layer_caching: true
16+
version: 18.06.0-ce
17+
- run:
18+
name: "Build Image"
19+
command: docker build -t $IMAGE_NAME .
20+
- run:
21+
name: "Test Image"
22+
command: docker run $IMAGE_NAME --version
23+
24+
workflows:
25+
version: 2
26+
build_test:
27+
jobs:
28+
- test

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 5.8.1
4+
5+
* Upgrade Alpine to v3.10.3.
6+
* Bump curator to v5.8.1.
7+
* Set containers to run as `nobody` user & group.
8+
9+
Ps: Going forward, our version will track the version of Curator that's packaged.
10+
311
## 5.1.0
412

513
* Upgrade Curator to v5.6.0.

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
FROM alpine:3.5
1+
FROM alpine:3.10.3
22

33
LABEL maintainer "Zappi DevOps <devops@zappistore.com>"
44

55
ARG APP_DEPS="python py-setuptools"
66
ARG BUILD_DEPS="py-pip"
7-
ARG CURATOR_VERSION="5.6.0"
7+
ARG CURATOR_VERSION="5.8.1"
88

99
RUN apk --update add ${APP_DEPS} ${BUILD_DEPS} && \
1010
pip install elasticsearch-curator==${CURATOR_VERSION} && \
1111
apk del ${BUILD_DEPS} && \
1212
rm -rf /var/cache/apk/*
1313

14+
USER nobody:nobody
1415
ENTRYPOINT ["/usr/bin/curator"]

circle.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)