fix: ignore hadolint DL3066 for non-numeric USER hermes
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