Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ ENV KUBETEST2_VERSION=b019714a389563c9a788f119f801520d059b6533
ENV COSIGN_VERSION=v1.13.1
ENV CRANE_VERSION=v0.12.1
ENV TRIVY_VERSION=0.35.0
ENV CARGODENY_VERSION=0.13.5

ENV GO111MODULE=on
ENV GOPROXY=https://proxy.golang.org
Expand Down Expand Up @@ -904,6 +905,10 @@ RUN rm -fr /usr/share/locale
RUN rm -fr /usr/share/man
RUN rm -fr /tmp/*

# Install cargo-deny
RUN curl -L "https://github.com/EmbarkStudios/cargo-deny/releases/download/${CARGODENY_VERSION}/cargo-deny-${CARGODENY_VERSION}-${TARGETARCH}-unknown-linux-musl.tar.gz" --output - | \
tar xz --strip-components=1 -C "/usr/bin/" "cargo-deny*/cargo-deny"

# Run config setup in local environments
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint

Expand Down