mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
d28d36b568
* 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>
12 lines
345 B
Docker
12 lines
345 B
Docker
FROM haproxy:2.4.0-alpine
|
|
USER root
|
|
|
|
RUN \
|
|
apk add --no-cache \
|
|
curl \
|
|
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
|
|
|
|
USER haproxy |