diff --git a/cmd/vulcan-gitleaks/Dockerfile b/cmd/vulcan-gitleaks/Dockerfile index c53f39b68..a68c57920 100644 --- a/cmd/vulcan-gitleaks/Dockerfile +++ b/cmd/vulcan-gitleaks/Dockerfile @@ -1,6 +1,6 @@ # Copyright 2019 Adevinta -FROM zricethezav/gitleaks +FROM zricethezav/gitleaks:v8.18.2 # Override base label with 🔑 not supported by artifactory. LABEL org.opencontainers.image.description="Protect and discover secrets using Gitleaks" @@ -11,6 +11,6 @@ ENTRYPOINT ["/usr/bin/env"] # Install check ARG TARGETOS TARGETARCH -COPY --chown=gitleaks ${TARGETOS}/${TARGETARCH}/vulcan-gitleaks / +COPY ${TARGETOS}/${TARGETARCH}/vulcan-gitleaks / CMD ["/vulcan-gitleaks"]