Drop priviledges
This commit is contained in:
parent
16f57df80f
commit
d7f3b4aa03
|
@ -1,3 +1,4 @@
|
|||
FROM haproxy:alpine
|
||||
|
||||
COPY haproxy.conf /usr/local/etc/haproxy/haproxy.cfg
|
||||
COPY --chown=nobody:nogroup haproxy.conf /usr/local/etc/haproxy/haproxy.cfg
|
||||
USER nobody:nogroup
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
FROM varnish
|
||||
|
||||
COPY varnish.vcl /etc/varnish/default.vcl
|
||||
COPY --chown=nobody:nogroup varnish.vcl /etc/varnish/default.vcl
|
||||
USER nobody:nogroup
|
||||
|
|
Reference in New Issue