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
9596HEALTHCHECK \
9697 --interval=1s \
0 commit comments