aboutsummaryrefslogtreecommitdiff
path: root/docker/haproxy/haproxy-ssh/Dockerfile.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docker/haproxy/haproxy-ssh/Dockerfile.j2')
-rw-r--r--docker/haproxy/haproxy-ssh/Dockerfile.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/haproxy/haproxy-ssh/Dockerfile.j2 b/docker/haproxy/haproxy-ssh/Dockerfile.j2
index 8eecc8891..b8277a237 100644
--- a/docker/haproxy/haproxy-ssh/Dockerfile.j2
+++ b/docker/haproxy/haproxy-ssh/Dockerfile.j2
@@ -13,6 +13,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set haproxy_ssh_packages = [
'openssh-server',
'openssh-clients',
+ 'rsync',
] %}
# NOTE(mgoddard): The centos:8 image contains a /run/nologin file, which
@@ -23,6 +24,7 @@ RUN rm -f /run/nologin
{% set haproxy_ssh_packages = [
'openssh-server',
'openssh-client',
+ 'rsync',
] %}
RUN mkdir -p /var/run/sshd \
@@ -36,5 +38,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 644 /usr/local/bin/kolla_extend_start \
&& sed -ri 's/session(\s+)required(\s+)pam_loginuid.so/session\1optional\2pam_loginuid.so/' /etc/pam.d/sshd
+COPY update-haproxy-cert.sh /usr/bin/update-haproxy-cert
+
{% block haproxy_ssh_footer %}{% endblock %}
{% block footer %}{% endblock %}