mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
12 lines
210 B
Docker
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"]
|