docker: default published images to seaweed user (#8819)

* ci: add Trivy CVE scan to container release workflow

* docker: default published images to seaweed user

* Revert "ci: add Trivy CVE scan to container release workflow"

This reverts commit bc9b7e1cf7a0694e355c5d23b5e323a07e8ba670.
This commit is contained in:
Chris Lu
2026-03-28 21:03:24 -07:00
committed by GitHub
parent 0884acd70c
commit 056cf6fa5b
2 changed files with 10 additions and 2 deletions

View File

@@ -79,5 +79,9 @@ RUN mkdir -p /data/filerldb2 && \
VOLUME /data VOLUME /data
WORKDIR /data WORKDIR /data
# Entrypoint will handle permission fixes and user switching # Run as non-root by default (satisfies security scanners).
# Use `docker run --user root` if you need the entrypoint to fix
# /data volume ownership before dropping privileges.
USER seaweed
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -37,5 +37,9 @@ RUN mkdir -p /data/filerldb2 && \
VOLUME /data VOLUME /data
WORKDIR /data WORKDIR /data
# Entrypoint will handle permission fixes and user switching # Run as non-root by default (satisfies security scanners).
# Use `docker run --user root` if you need the entrypoint to fix
# /data volume ownership before dropping privileges.
USER seaweed
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]