File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ FROM build-base-${BASE_VARIANT} AS goversioninfo
4343ARG GOVERSIONINFO_VERSION
4444RUN --mount=type=cache,target=/root/.cache/go-build \
4545 --mount=type=cache,target=/go/pkg/mod \
46- GOBIN=/out GO111MODULE=on go install "github.com/josephspurrier/goversioninfo/cmd/goversioninfo@${GOVERSIONINFO_VERSION}"
46+ GOBIN=/out GO111MODULE=on CGO_ENABLED=0 go install "github.com/josephspurrier/goversioninfo/cmd/goversioninfo@${GOVERSIONINFO_VERSION}"
4747
4848FROM build-base-${BASE_VARIANT} AS gotestsum
4949ARG GOTESTSUM_VERSION
5050RUN --mount=type=cache,target=/root/.cache/go-build \
5151 --mount=type=cache,target=/go/pkg/mod \
52- GOBIN=/out GO111MODULE=on go install "gotest.tools/gotestsum@${GOTESTSUM_VERSION}" \
52+ GOBIN=/out GO111MODULE=on CGO_ENABLED=0 go install "gotest.tools/gotestsum@${GOTESTSUM_VERSION}" \
5353 && /out/gotestsum --version
5454
5555FROM build-${BASE_VARIANT} AS build
You can’t perform that action at this time.
0 commit comments