Files
joshvanl e6173f31d7 Set Dockerfiel USER to 65532:65532
Update the base Dockerfile image to set the user and group of all
images to run as the non-root user group 65532:65532.

Fixes https://github.com/dapr/dapr/issues/8365

Signed-off-by: joshvanl <me@joshvanl.dev>
2025-07-08 20:13:21 -03:00

8 lines
134 B
Docker

# current directory must be ./dist
FROM gcr.io/distroless/static:nonroot
ARG PKG_FILES
WORKDIR /
COPY /$PKG_FILES /
USER 65532:65532