build(deps): update haproxy docker tag to v2.4.0 (#2004)

* build(deps): update haproxy docker tag to v2.4.0

* fix(suites): fix haproxy dockerfile user

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
pull/2033/head
renovate[bot] 2021-05-26 14:13:53 +10:00 committed by GitHub
parent 6a226ec122
commit d28d36b568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
FROM haproxy:2.3.10-alpine FROM haproxy:2.4.0-alpine
USER root
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
@ -6,4 +7,6 @@ apk add --no-cache \
lua-json4 \ lua-json4 \
openssl && \ 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 && \ 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 cat haproxy.key haproxy.crt > /usr/local/etc/haproxy/haproxy.pem
USER haproxy