Fix haproxy docker image version

Simó Albert i Beltran 2022-01-26 17:49:57 +01:00
parent ed481e2605
commit be814a9e2e
3 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,8 @@ version: '3.7'
services:
isard-sso-haproxy:
build:
args:
HAPROXY_IMG:
context: ${BUILD_ROOT_PATH}/docker/haproxy
dockerfile: Dockerfile
target: production

View File

@ -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

View File

@ -41,3 +41,4 @@ POSTGRES_USER=admin
## DOCKER IMAGES
NGINX_ALPINE_IMG=nginx:1.21.6-alpine
POSTGRES_BACKUP_LOCAL_IMG=14-debian-2aa03d1
HAPROXY_IMG=haproxy:2.4.12-alpine3.15