Skip to content

Commit b4fbc39

Browse files
committed
ci: updates helm job runner image
1 parent aabc69f commit b4fbc39

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

IMAGES/helm-job-runner/Dockerfile-nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ mkdir -p /tmp/nix-store-closure
1515
cp -R $(nix-store -qR /tmp/output/result) /tmp/nix-store-closure
1616
EOF
1717

18-
FROM scratch
19-
WORKDIR /app
18+
FROM gcr.io/distroless/static
2019
COPY --from=builder /tmp/nix-store-closure /nix/store
21-
COPY --from=builder /tmp/output/ /app/
22-
USER 1001
20+
USER nonroot:nonroot
21+
COPY --from=builder --chown=nonroot:nonroot /tmp/output/ /app/
2322
ENV PATH=/app/result/bin

0 commit comments

Comments
 (0)