Merge pull request 'fix: ignore hadolint DL3066 for non-numeric USER hermes' (#14) from fix/hadolint-dl3066 into main
Main Release / hadolint (push) Successful in 13s
Main Release / build (push) Successful in 5m32s
Main Release / tag (push) Successful in 19s
Tag Release / hadolint (push) Successful in 14s
Tag Release / build (push) Successful in 4m36s
Tag Release / build-push (push) Successful in 8m2s
Main Release / hadolint (push) Successful in 13s
Main Release / build (push) Successful in 5m32s
Main Release / tag (push) Successful in 19s
Tag Release / hadolint (push) Successful in 14s
Tag Release / build (push) Successful in 4m36s
Tag Release / build-push (push) Successful in 8m2s
Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ ENV HERMES_WEBUI_AGENT_DIR=/opt/hermes-agent \
|
|||||||
RUN useradd --create-home --shell /bin/bash hermes \
|
RUN useradd --create-home --shell /bin/bash hermes \
|
||||||
&& mkdir -p /workspace \
|
&& mkdir -p /workspace \
|
||||||
&& chown -R hermes:hermes /app /opt/venv /opt/hermes-agent /workspace /home/hermes
|
&& chown -R hermes:hermes /app /opt/venv /opt/hermes-agent /workspace /home/hermes
|
||||||
|
# hadolint ignore=DL3066
|
||||||
USER hermes
|
USER hermes
|
||||||
|
|
||||||
EXPOSE 8787
|
EXPOSE 8787
|
||||||
|
|||||||
Reference in New Issue
Block a user