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
parent
6a226ec122
commit
d28d36b568
|
@ -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 \
|
||||||
|
@ -7,3 +8,5 @@ apk add --no-cache \
|
||||||
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
|
Loading…
Reference in New Issue