syft/Dockerfile.nonroot
Christopher Phillips 61dff5de88
chore: migrate .goreleaser build to docker_v2
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
2026-02-06 15:59:16 -05:00

12 lines
210 B
Docker

FROM gcr.io/distroless/static-debian12:nonroot
# create the /tmp dir, which is needed for image content cache
WORKDIR /tmp
ARG TARGETPLATFORM
COPY ${TARGETPLATFORM}/syft /
USER nonroot
ENTRYPOINT ["/syft"]