Skip to content

Commit

Permalink
Bump github.com/docker/docker when building
Browse files Browse the repository at this point in the history
... just to silence vuln scanners.

Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Oct 8, 2024
1 parent 28b349e commit e6b1635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN git clone --depth=1 https://${SRC}.git $GOPATH/src/${PKG}
WORKDIR $GOPATH/src/${PKG}
RUN git fetch --all --tags --prune
RUN git checkout tags/${TAG} -b ${TAG}
RUN go mod edit -replace github.com/docker/docker=github.com/docker/[email protected]+incompatible && go mod tidy && go mod vendor
ENV GO_LDFLAGS="-linkmode=external -X ${PKG}/pkg/version.Version=${TAG}"
RUN go-build-static.sh -gcflags=-trimpath=${GOPATH}/src -o bin/crictl ./cmd/crictl
RUN go-assert-static.sh bin/*
Expand Down

0 comments on commit e6b1635

Please sign in to comment.