diff --git a/internal/suites/example/compose/haproxy/Dockerfile b/internal/suites/example/compose/haproxy/Dockerfile index 691566e49..f2afa4c11 100644 --- a/internal/suites/example/compose/haproxy/Dockerfile +++ b/internal/suites/example/compose/haproxy/Dockerfile @@ -1,4 +1,5 @@ -FROM haproxy:2.3.10-alpine +FROM haproxy:2.4.0-alpine +USER root RUN \ apk add --no-cache \ @@ -6,4 +7,6 @@ apk add --no-cache \ lua-json4 \ openssl && \ openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=AU/ST=Victoria/L=Melbourne/O=Authelia/CN=*.example.com" -keyout haproxy.key -out haproxy.crt && \ -cat haproxy.key haproxy.crt > /usr/local/etc/haproxy/haproxy.pem \ No newline at end of file +cat haproxy.key haproxy.crt > /usr/local/etc/haproxy/haproxy.pem + +USER haproxy \ No newline at end of file