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

Commit 17621ab

Browse files
authored
Merge pull request #61 from jdeathe/centos-7-redis40u-develop
Release changes for 4.1.0
2 parents 383de2e + 7939c7f commit 17621ab

20 files changed

+605
-347
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: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
11
# Change Log
22

3-
## centos-7-redis40u
3+
## 4 - centos-7-redis40u
44

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

7-
CentOS-7 7.5.1804 x86_64 - IUS Redis 4.0.
7+
### 4.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 `redis40u` packages to 4.0.14-1.
11+
- Updates CHANGELOG.md to simplify maintenance.
12+
- Updates README.md to simplify contents and improve readability.
13+
- Updates README-short.txt to apply to all image variants.
14+
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency.
15+
- Updates bootstrap and wrapper supervisord configuration to send error log output to stderr.
16+
- Updates bootstrap timer to use UTC date timestamps.
17+
- Updates bootstrap supervisord configuration file/priority to `20-redis-bootstrap.conf`/`20`.
18+
- Updates wrapper supervisord configuration file/priority to `50-redis-wrapper.conf`/`50`.
19+
- Fixes binary paths in systemd unit files; missing changes from last release.
20+
- Fixes docker host connection status check in Makefile.
21+
- Adds missing instruction step to docker-compose example configuration file.
22+
- Adds `inspect`, `reload` and `top` Makefile targets.
23+
- Adds improved `clean` Makefile target; includes exited containers and dangling images.
24+
- Adds lock/state file to wrapper script.
25+
- Adds `SYSTEM_TIMEZONE` handling to Makefile, scmi, systemd unit and docker-compose templates.
26+
- Adds system time zone validation to healthcheck.
27+
- Removes support for long image tags (i.e. centos-7-redis40u-4.x.x).
28+
- Removes `REDIS_AUTOSTART_REDIS_BOOTSTRAP`, replaced with `ENABLE_REDIS_BOOTSTRAP`.
29+
- Removes `REDIS_AUTOSTART_REDIS_WRAPPER`, replaced with `ENABLE_REDIS_WRAPPER`.
830

931
### 4.0.0 - 2019-03-22
1032

Dockerfile

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

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

55
# ------------------------------------------------------------------------------
66
# Base install of required packages
77
# ------------------------------------------------------------------------------
88
RUN yum -y install \
99
--setopt=tsflags=nodocs \
1010
--disableplugin=fastestmirror \
11-
redis40u-4.0.13-1.ius.centos7 \
11+
redis40u-4.0.14-1.ius.el7 \
1212
&& yum versionlock add \
1313
redis40u* \
1414
&& yum clean all
@@ -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 - IUS Redis 4.0."
94+
org.deathe.description="IUS Redis 4.0 - CentOS-7 7.6.1810 x86_64."
9495

9596
HEALTHCHECK \
9697
--interval=1s \

0 commit comments

Comments
 (0)