Remove run as root
This commit is contained in:
parent
8a314e2fa4
commit
4bd7bae34f
@ -106,6 +106,7 @@ COPY run.sh /
|
|||||||
COPY autoreload.sh /
|
COPY autoreload.sh /
|
||||||
COPY sup.sh /
|
COPY sup.sh /
|
||||||
RUN chmod +x /run.sh /autoreload.sh /sup.sh
|
RUN chmod +x /run.sh /autoreload.sh /sup.sh
|
||||||
|
USER squid
|
||||||
HEALTHCHECK CMD squidclient mgr:info | grep "HTTP/1.1 200 OK" || exit 1
|
HEALTHCHECK CMD squidclient mgr:info | grep "HTTP/1.1 200 OK" || exit 1
|
||||||
EXPOSE 3128
|
EXPOSE 3128
|
||||||
ENTRYPOINT ["dumb-init"]
|
ENTRYPOINT ["dumb-init"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user