From 22a6c9fcb43bb4ef3b18516c432a8d90424553b4 Mon Sep 17 00:00:00 2001 From: Oleksandr Milushev Date: Wed, 26 Feb 2020 19:50:56 +0200 Subject: [PATCH] Update HAproxy to enable stdout logging (#6) --- .gitignore | 1 + Dockerfile | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f11b75 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ diff --git a/Dockerfile b/Dockerfile index 009c462..6344c4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ -FROM haproxy:1.9.5-alpine +FROM haproxy:2.1.3-alpine + +RUN apk --no-cache upgrade \ + && apk add --no-cache ca-certificates openssl \ + && mkdir /etc/haproxy \ + && mkdir -p /opt/haproxy -RUN apk --no-cache upgrade && apk add --no-cache ca-certificates openssl && mkdir /etc/haproxy && mkdir -p /opt/haproxy COPY entrypoint.sh /bin/ COPY ./error-pages /opt/haproxy/error-pages