Remove run as root
This commit is contained in:
1 parent
8a314e2fa4
commit
4bd7bae34f
1 file changed
+1
@@ -106,6 +106,7 @@ COPY run.sh /
|
||||
COPY autoreload.sh /
|
||||
COPY 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
|
||||
EXPOSE 3128
|
||||
ENTRYPOINT ["dumb-init"]
|
||||
|
||||
Reference in new issue
Block a user