aboutsummaryrefslogtreecommitdiff
path: root/docker/haproxy/haproxy-ssh/Dockerfile.j2
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-10-30 09:51:05 +0000
committerGerrit Code Review <review@openstack.org>2023-10-30 09:51:05 +0000
commit100b8b9aba9eb04dee8a3393afb2686f90f4991d (patch)
treef202d0464b1ad50350b9126fc8fb30384e13ea1c /docker/haproxy/haproxy-ssh/Dockerfile.j2
parent5e7e80fd8828b6614fedc46cc967fe786e780219 (diff)
parent3213dccb8c318134695bcc9c9ba480448964314f (diff)
downloadkolla-100b8b9aba9eb04dee8a3393afb2686f90f4991d.tar.gz
kolla-100b8b9aba9eb04dee8a3393afb2686f90f4991d.zip
Merge "Rework letsencrypt"
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 %}