From 411d41c6e6d4022b7cc4143f13469198c74b780f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Wed, 26 Jan 2022 17:49:57 +0100 Subject: [PATCH] Fix haproxy-behind docker image version --- docker-compose-parts/haproxy-behind.yml | 2 ++ docker/haproxy/Dockerfile-behind | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose-parts/haproxy-behind.yml b/docker-compose-parts/haproxy-behind.yml index 02039bb..c12d827 100644 --- a/docker-compose-parts/haproxy-behind.yml +++ b/docker-compose-parts/haproxy-behind.yml @@ -3,6 +3,8 @@ version: '3.7' services: isard-sso-haproxy: build: + args: + HAPROXY_IMG: context: ${BUILD_ROOT_PATH}/docker/haproxy dockerfile: Dockerfile-behind target: production diff --git a/docker/haproxy/Dockerfile-behind b/docker/haproxy/Dockerfile-behind index de0a834..aaed073 100644 --- a/docker/haproxy/Dockerfile-behind +++ b/docker/haproxy/Dockerfile-behind @@ -1,4 +1,5 @@ -FROM haproxy:lts-alpine3.15 as production +ARG HAPROXY_IMG +FROM $HAPROXY_IMG as production USER root RUN apk add openssl certbot py-pip