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

Commit 7683623

Browse files
authored
Merge pull request #122 from jdeathe/centos-7-develop
Release changes for 2.3.0
2 parents d8fd43a + 671fbbe commit 7683623

File tree

17 files changed

+438
-265
lines changed

17 files changed

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

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

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

7-
CentOS-7 7.5.1804 x86_64 - Memcached 1.4.
7+
### 2.3.0 - 2019-06-25
8+
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).
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 `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`.
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-2.x.x).
827

928
### 2.2.1 - 2019-03-20
1029

Dockerfile

Lines changed: 10 additions & 9 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="2.2.1"
3+
ARG RELEASE_VERSION="2.3.0"
44

55
# ------------------------------------------------------------------------------
66
# Base install of required packages
@@ -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
@@ -77,7 +78,7 @@ jdeathe/centos-ssh-memcached:${RELEASE_VERSION} \
7778
org.deathe.license="MIT" \
7879
org.deathe.vendor="jdeathe" \
7980
org.deathe.url="https://github.com/jdeathe/centos-ssh-memcached" \
80-
org.deathe.description="CentOS-7 7.5.1804 x86_64 - Memcached 1.4."
81+
org.deathe.description="Memcached 1.4 - CentOS-7 7.5.1804 x86_64."
8182

8283
HEALTHCHECK \
8384
--interval=1s \

0 commit comments

Comments
 (0)