4 Commits
Author SHA1 Message Date
jcabillot 9452efcc18 Merge pull request 'fix: use JSON notation for HEALTHCHECK CMD (DL3025)' (#15) from fix/hadolint-DL3025-healthcheck-json into main
Main Release / hadolint (push) Successful in 32s
Main Release / build (push) Successful in 7m32s
Main Release / tag (push) Successful in 22s
Tag Release / hadolint (push) Successful in 29s
Tag Release / build (push) Successful in 33s
Tag Release / build-push (push) Successful in 8m30s
Reviewed-on: #15
2026-08-02 13:04:39 -04:00
Julien Cabillot aa7b1f8eb3 fix: use JSON notation for HEALTHCHECK CMD (DL3025)
PR Checks / hadolint (pull_request) Successful in 31s
PR Checks / build (pull_request) Successful in 5m38s
2026-08-02 16:56:53 +00:00
jcabillot 027c4ccfe3 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
Reviewed-on: #14
2026-08-02 12:35:46 -04:00
opencodecabilloteu 875997a18e fix: ignore hadolint DL3066 for non-numeric USER hermes
PR Checks / hadolint (pull_request) Successful in 28s
PR Checks / build (pull_request) Successful in 7m47s
2026-08-02 16:26:23 +00:00
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2a66e89f53d0771bb131a7fa31f3136336094aa6 # v3.4.0 - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2a66e89f53d0771bb131a7fa31f3136336094aa6 # v3.4.0 - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2a66e89f53d0771bb131a7fa31f3136336094aa6 # v3.4.0 - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
continue-on-error: true continue-on-error: true
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: hadolint/hadolint-action@2a66e89f53d0771bb131a7fa31f3136336094aa6 # v3.4.0 - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with: with:
dockerfile: Dockerfile dockerfile: Dockerfile
+2 -2
View File
@@ -82,13 +82,13 @@ 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
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:8787/health || exit 1 CMD ["curl", "-f", "http://localhost:8787/health"]
# Run the WebUI server (which runs Hermes Agent in-process) # Run the WebUI server (which runs Hermes Agent in-process)
CMD ["python", "/app/server.py"] CMD ["python", "/app/server.py"]