Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit a8c6bd6

Browse files
authored
Merge pull request #60 from jdeathe/centos-7-develop
Release changes for 3.1.0
2 parents 8cc71f4 + b1549e5 commit a8c6bd6

20 files changed

+603
-345
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ REDIS_MAXMEMORY_POLICY=allkeys-lru
33
REDIS_MAXMEMORY_SAMPLES=5
44
REDIS_OPTIONS=
55
REDIS_TCP_BACKLOG=1024
6+
SYSTEM_TIMEZONE=UTC

CHANGELOG.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
# Change Log
22

3-
## centos-7
3+
## 3 - centos-7
44

5-
Summary of release changes for Version 3.
5+
Summary of release changes.
66

7-
CentOS-7 7.5.1804 x86_64 - EPEL Redis 3.2.
7+
### 3.1.0 - 2019-06-29
8+
9+
- Updates source image to [2.6.0](https://github.com/jdeathe/centos-ssh/releases/tag/2.6.0).
10+
- Updates CHANGELOG.md to simplify maintenance.
11+
- Updates README.md to simplify contents and improve readability.
12+
- Updates README-short.txt to apply to all image variants.
13+
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency.
14+
- Updates bootstrap and wrapper supervisord configuration to send error log output to stderr.
15+
- Updates bootstrap timer to use UTC date timestamps.
16+
- Updates bootstrap supervisord configuration file/priority to `20-redis-bootstrap.conf`/`20`.
17+
- Updates wrapper supervisord configuration file/priority to `50-redis-wrapper.conf`/`50`.
18+
- Fixes binary paths in systemd unit files; missing changes from last release.
19+
- Fixes docker host connection status check in Makefile.
20+
- Adds missing instruction step to docker-compose example configuration file.
21+
- Adds `inspect`, `reload` and `top` Makefile targets.
22+
- Adds improved `clean` Makefile target; includes exited containers and dangling images.
23+
- Adds lock/state file to wrapper script.
24+
- Adds `SYSTEM_TIMEZONE` handling to Makefile, scmi, systemd unit and docker-compose templates.
25+
- Adds system time zone validation to healthcheck.
26+
- Removes support for long image tags (i.e. centos-7-3.x.x).
27+
- Removes `REDIS_AUTOSTART_REDIS_BOOTSTRAP`, replaced with `ENABLE_REDIS_BOOTSTRAP`.
28+
- Removes `REDIS_AUTOSTART_REDIS_WRAPPER`, replaced with `ENABLE_REDIS_WRAPPER`.
829

930
### 3.0.0 - 2019-03-22
1031

Dockerfile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM jdeathe/centos-ssh:2.5.1
1+
FROM jdeathe/centos-ssh:2.6.0
22

3-
ARG RELEASE_VERSION="3.0.0"
3+
ARG RELEASE_VERSION="4.1.0"
44

55
# ------------------------------------------------------------------------------
66
# Base install of required packages
@@ -37,7 +37,7 @@ RUN sed -i -r \
3737
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
3838
/etc/systemd/system/centos-ssh-redis@.service \
3939
&& chmod 644 \
40-
/etc/supervisord.d/redis-server-{bootstrap,wrapper}.conf \
40+
/etc/supervisord.d/{20-redis-server-bootstrap,50-redis-server-wrapper}.conf \
4141
&& chmod 700 \
4242
/usr/{bin/healthcheck,sbin/redis-server-{bootstrap,wrapper}} \
4343
&& chmod 750 \
@@ -50,16 +50,17 @@ EXPOSE 6379
5050
# ------------------------------------------------------------------------------
5151
# Set default environment variables
5252
# ------------------------------------------------------------------------------
53-
ENV REDIS_AUTOSTART_REDIS_BOOTSTRAP="true" \
54-
REDIS_AUTOSTART_REDIS_WRAPPER="true" \
53+
ENV \
54+
ENABLE_REDIS_BOOTSTRAP="true" \
55+
ENABLE_REDIS_WRAPPER="true" \
56+
ENABLE_SSHD_BOOTSTRAP="false" \
57+
ENABLE_SSHD_WRAPPER="false" \
58+
ENABLE_SUPERVISOR_STDOUT="false" \
5559
REDIS_MAXMEMORY="64mb" \
5660
REDIS_MAXMEMORY_POLICY="allkeys-lru" \
5761
REDIS_MAXMEMORY_SAMPLES="5" \
5862
REDIS_OPTIONS="" \
59-
REDIS_TCP_BACKLOG="1024" \
60-
SSH_AUTOSTART_SSHD="false" \
61-
SSH_AUTOSTART_SSHD_BOOTSTRAP="false" \
62-
SSH_AUTOSTART_SUPERVISOR_STDOUT="false"
63+
REDIS_TCP_BACKLOG="1024"
6364

6465
# ------------------------------------------------------------------------------
6566
# Set image metadata
@@ -90,7 +91,7 @@ jdeathe/centos-ssh-redis:${RELEASE_VERSION} \
9091
org.deathe.license="MIT" \
9192
org.deathe.vendor="jdeathe" \
9293
org.deathe.url="https://github.com/jdeathe/centos-ssh-redis" \
93-
org.deathe.description="CentOS-7 7.5.1804 x86_64 - EPEL Redis 3.2."
94+
org.deathe.description="EPEL Redis 3.2. - CentOS-7 7.6.1810 x86_64."
9495

9596
HEALTHCHECK \
9697
--interval=1s \

0 commit comments

Comments
 (0)