From 6b2742dc799e88080f56dfa463d2f5dce4c81782 Mon Sep 17 00:00:00 2001 From: darta Date: Tue, 28 Dec 2021 22:38:04 +0100 Subject: [PATCH] chore(haproxy): set stable haproxy 3.15 LTS --- docker/haproxy/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/haproxy/Dockerfile b/docker/haproxy/Dockerfile index 3f49daf..9ff408f 100644 --- a/docker/haproxy/Dockerfile +++ b/docker/haproxy/Dockerfile @@ -1,4 +1,6 @@ -FROM haproxy:2.3-alpine as production +FROM haproxy:lts-alpine3.15 as production + +USER root RUN apk add openssl certbot py-pip RUN pip install certbot-plugin-gandi @@ -6,8 +8,9 @@ COPY letsencrypt-hook-deploy-concatenante.sh / COPY letsencrypt.sh /usr/local/sbin/ COPY letsencrypt-renew-cron.sh /etc/periodic/daily/letsencrypt-renew COPY auto-generate-certs.sh /usr/local/sbin/ + COPY docker-entrypoint.sh /usr/local/bin/ -RUN rm /docker-entrypoint.sh RUN ln -s /usr/local/bin/docker-entrypoint.sh / RUN chmod 775 docker-entrypoint.sh + ADD haproxy.conf /usr/local/etc/haproxy/haproxy.cfg