1- FROM jdeathe/centos-ssh:1.10.1
1+ FROM jdeathe/centos-ssh:1.11.0
22
33ARG RELEASE_VERSION="1.1.1"
44
@@ -34,7 +34,7 @@ RUN sed -i -r \
3434 -e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
3535 /etc/systemd/system/centos-ssh-redis@.service \
3636 && chmod 644 \
37- /etc/supervisord.d/redis-server-{ bootstrap,wrapper}.conf \
37+ /etc/supervisord.d/{20- redis-server-bootstrap,50-redis-server- wrapper}.conf \
3838 && chmod 700 \
3939 /usr/{bin/healthcheck,sbin/redis-server-{bootstrap,wrapper}} \
4040 && chmod 750 \
@@ -47,16 +47,17 @@ EXPOSE 6379
4747# ------------------------------------------------------------------------------
4848# Set default environment variables
4949# ------------------------------------------------------------------------------
50- ENV REDIS_AUTOSTART_REDIS_BOOTSTRAP="true" \
51- REDIS_AUTOSTART_REDIS_WRAPPER="true" \
50+ ENV \
51+ ENABLE_REDIS_BOOTSTRAP="true" \
52+ ENABLE_REDIS_WRAPPER="true" \
53+ ENABLE_SSHD_BOOTSTRAP="false" \
54+ ENABLE_SSHD_WRAPPER="false" \
55+ ENABLE_SUPERVISOR_STDOUT="false" \
5256 REDIS_MAXMEMORY="64mb" \
5357 REDIS_MAXMEMORY_POLICY="allkeys-lru" \
5458 REDIS_MAXMEMORY_SAMPLES="5" \
5559 REDIS_OPTIONS="" \
56- REDIS_TCP_BACKLOG="1024" \
57- SSH_AUTOSTART_SSHD="false" \
58- SSH_AUTOSTART_SSHD_BOOTSTRAP="false" \
59- SSH_AUTOSTART_SUPERVISOR_STDOUT="false"
60+ REDIS_TCP_BACKLOG="1024"
6061
6162# -----------------------------------------------------------------------------
6263# Set image metadata
@@ -87,7 +88,7 @@ jdeathe/centos-ssh-redis:${RELEASE_VERSION} \
8788 org.deathe.license="MIT" \
8889 org.deathe.vendor="jdeathe" \
8990 org.deathe.url="https://github.com/jdeathe/centos-ssh-redis" \
90- org.deathe.description="CentOS-6 6.10 x86_64 - EPEL Redis 3.2 ."
91+ org.deathe.description="EPEL Redis 3.2 - CentOS-6 6.10 x86_64."
9192
9293HEALTHCHECK \
9394 --interval=1s \
0 commit comments