We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28b349e commit e6b1635Copy full SHA for e6b1635
Dockerfile
@@ -18,6 +18,7 @@ RUN git clone --depth=1 https://${SRC}.git $GOPATH/src/${PKG}
18
WORKDIR $GOPATH/src/${PKG}
19
RUN git fetch --all --tags --prune
20
RUN git checkout tags/${TAG} -b ${TAG}
21
+RUN go mod edit -replace github.com/docker/docker=github.com/docker/docker@v27.1.1+incompatible && go mod tidy && go mod vendor
22
ENV GO_LDFLAGS="-linkmode=external -X ${PKG}/pkg/version.Version=${TAG}"
23
RUN go-build-static.sh -gcflags=-trimpath=${GOPATH}/src -o bin/crictl ./cmd/crictl
24
RUN go-assert-static.sh bin/*
0 commit comments