fix: stay root as upstream
Main Release / hadolint (push) Successful in 15s
Main Release / build (push) Successful in 2m8s
Main Release / tag (push) Successful in 21s
Tag Release / hadolint (push) Successful in 8s
Tag Release / build (push) Successful in 13s
Tag Release / build-push (push) Successful in 2m51s
Main Release / hadolint (push) Successful in 15s
Main Release / build (push) Successful in 2m8s
Main Release / tag (push) Successful in 21s
Tag Release / hadolint (push) Successful in 8s
Tag Release / build (push) Successful in 13s
Tag Release / build-push (push) Successful in 2m51s
This commit is contained in:
@@ -5,8 +5,6 @@
|
|||||||
ARG HERMES_AGENT_VERSION=v2026.6.5
|
ARG HERMES_AGENT_VERSION=v2026.6.5
|
||||||
FROM nousresearch/hermes-agent:${HERMES_AGENT_VERSION}
|
FROM nousresearch/hermes-agent:${HERMES_AGENT_VERSION}
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
# Install system packages and HashiCorp repo
|
# Install system packages and HashiCorp repo
|
||||||
# hadolint ignore=DL3008
|
# hadolint ignore=DL3008
|
||||||
RUN apt-get update -qq && apt-get upgrade -qq --yes --no-install-recommends \
|
RUN apt-get update -qq && apt-get upgrade -qq --yes --no-install-recommends \
|
||||||
@@ -14,8 +12,3 @@ RUN apt-get update -qq && apt-get upgrade -qq --yes --no-install-recommends \
|
|||||||
jq \
|
jq \
|
||||||
&& apt-get -qq --yes autoremove --purge \
|
&& apt-get -qq --yes autoremove --purge \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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