mirror of
https://github.com/dapr/dapr.git
synced 2026-10-28 16:46:37 +08:00
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>
8 lines
134 B
Docker
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
|