mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 09:59:54 +00:00
14 lines
308 B
Docker
14 lines
308 B
Docker
FROM gcr.io/distroless/static-debian13:debug-nonroot
|
|
|
|
USER nonroot
|
|
WORKDIR /home/nonroot/
|
|
|
|
ARG image_version client TARGETARCH
|
|
ENV RELEASE=$image_version CLIENT=$client
|
|
|
|
ARG TARGETPLATFORM
|
|
COPY $TARGETPLATFORM/kubescape /usr/bin/kubescape
|
|
RUN ["kubescape", "download", "artifacts"]
|
|
|
|
ENTRYPOINT ["kubescape"]
|