fix: stay root as upstream
Main Release / build (push) Successful in 24s
Main Release / tag (push) Successful in 14s
Tag Release / hadolint (push) Successful in 7s
Tag Release / build (push) Successful in 14s
Tag Release / build-push (push) Successful in 2m46s
Main Release / hadolint (push) Failing after 14m16s
Main Release / build (push) Successful in 24s
Main Release / tag (push) Successful in 14s
Tag Release / hadolint (push) Successful in 7s
Tag Release / build (push) Successful in 14s
Tag Release / build-push (push) Successful in 2m46s
Main Release / hadolint (push) Failing after 14m16s
This commit is contained in:
+1
-7
@@ -3,10 +3,9 @@
|
||||
# gcc, ffmpeg, node 22, npm, procps, xz-utils, s6-overlay.
|
||||
|
||||
ARG HERMES_AGENT_VERSION=v2026.6.5
|
||||
# hadolint ignore=DL3002
|
||||
FROM nousresearch/hermes-agent:${HERMES_AGENT_VERSION}
|
||||
|
||||
USER root
|
||||
|
||||
# Install system packages and HashiCorp repo
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update -qq && apt-get upgrade -qq --yes --no-install-recommends \
|
||||
@@ -14,8 +13,3 @@ RUN apt-get update -qq && apt-get upgrade -qq --yes --no-install-recommends \
|
||||
jq \
|
||||
&& apt-get -qq --yes autoremove --purge \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Drop back to the base image's default user
|
||||
ARG HERMES_UID=10000
|
||||
ARG HERMES_GID=10000
|
||||
USER ${HERMES_UID}:${HERMES_GID}
|
||||
|
||||
Reference in New Issue
Block a user