mirror of
https://github.com/anchore/syft.git
synced 2026-08-19 16:48:27 +02:00
--------- Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
13 lines
253 B
Docker
13 lines
253 B
Docker
ARG DEBIAN_VERSION=13
|
|
FROM gcr.io/distroless/static-debian${DEBIAN_VERSION}:debug-nonroot
|
|
|
|
# create the /tmp dir, which is needed for image content cache
|
|
WORKDIR /tmp
|
|
|
|
ARG TARGETPLATFORM
|
|
COPY ${TARGETPLATFORM}/syft /
|
|
|
|
USER nonroot
|
|
|
|
ENTRYPOINT ["/syft"]
|