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

Commit 1d9ae3b

Browse files
authored
Merge pull request #119 from jdeathe/issue/102
CLOSES #102: Updates source image to 2.6.0.
2 parents 4abddfd + c4da24d commit 1d9ae3b

File tree

16 files changed

+384
-210
lines changed

16 files changed

+384
-210
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
MEMCACHED_CACHESIZE=64
22
MEMCACHED_MAXCONN=1024
3-
MEMCACHED_OPTIONS=-U 0
3+
MEMCACHED_OPTIONS=-U 0
4+
SYSTEM_TIMEZONE=UTC

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,24 @@ Summary of release changes.
66

77
### 2.3.0 - Unreleased
88

9+
- Deprecates `MEMCACHED_AUTOSTART_MEMCACHED_WRAPPER`, replaced with `ENABLE_MEMCACHED_WRAPPER`.
10+
- Updates source image to [2.6.0](https://github.com/jdeathe/centos-ssh/releases/tag/2.6.0).
911
- Updates CHANGELOG.md to simplify maintenance.
1012
- Updates README.md to simplify contents and improve readability.
1113
- Updates README-short.txt to apply to all image variants.
1214
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency.
15+
- Updates `memcached-wrapper` configuration to send error log output to stderr.
16+
- Updates `memcached-wrapper` timer to use UTC date timestamps.
17+
- Updates wrapper supervisord configuration file/priority to `50-memcached-wrapper.conf`/`50`.
1318
- Fixes binary paths in systemd unit files; missing changes from last release.
19+
- Fixes docker host connection status check in Makefile.
1420
- 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-2.x.x).
1527

1628
### 2.2.1 - 2019-03-20
1729

Dockerfile

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

33
ARG RELEASE_VERSION="2.2.1"
44

@@ -31,7 +31,7 @@ RUN sed -i \
3131
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
3232
/etc/systemd/system/centos-ssh-memcached@.service \
3333
&& chmod 644 \
34-
/etc/supervisord.d/memcached-wrapper.conf \
34+
/etc/supervisord.d/50-memcached-wrapper.conf \
3535
&& chmod 700 \
3636
/usr/{bin/healthcheck,sbin/memcached-wrapper}
3737

@@ -40,13 +40,14 @@ EXPOSE 11211
4040
# ------------------------------------------------------------------------------
4141
# Set default environment variables
4242
# ------------------------------------------------------------------------------
43-
ENV MEMCACHED_AUTOSTART_MEMCACHED_WRAPPER="true" \
43+
ENV \
44+
ENABLE_MEMCACHED_WRAPPER="true" \
45+
ENABLE_SSHD_BOOTSTRAP="false" \
46+
ENABLE_SSHD_WRAPPER="false" \
47+
ENABLE_SUPERVISOR_STDOUT="false" \
4448
MEMCACHED_CACHESIZE="64" \
4549
MEMCACHED_MAXCONN="1024" \
46-
MEMCACHED_OPTIONS="-U 0" \
47-
SSH_AUTOSTART_SSHD="false" \
48-
SSH_AUTOSTART_SSHD_BOOTSTRAP="false" \
49-
SSH_AUTOSTART_SUPERVISOR_STDOUT="false"
50+
MEMCACHED_OPTIONS="-U 0"
5051

5152
# ------------------------------------------------------------------------------
5253
# Set image metadata

0 commit comments

Comments
 (0)