Skip to content

Commit

Permalink
Add CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jul 18, 2023
1 parent b6138c0 commit f837820
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion images/prow-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ FROM external-go-latest AS external-go-gets
ARG KUBETEST2_VERSION=d306c412d528f0a5dda4b6bd1c7550a905f5edb9
ARG KUBETEST2_KOPS_VERSION=9b957a1d6189ee612506c9b6dc5b8b1a19e9c2aa # v1.25.0 release
ARG KIND_VERSION=v0.18.0
ARG KO_VERSION=v0.14.1
ARG KO_VERSION=v0.13.0
ARG PROTOC_GEN_GO_VERSION=v1.28.0
ARG PROTOC_GEN_GOGOFASTER_VERSION=v1.3.2
ARG GOTESTSUM_VERSION=v1.8.2
Expand All @@ -185,6 +185,9 @@ ARG JSONNET_VERSION=v0.18.0
ARG COSIGN_VERSION=v1.13.0
ARG TOOLBOX_VERSION=2051540f04c2a8fb5ad50c717345c2dd69a0b71e

# Disable CGO libs to avoid error with too old version in base image
ENV CGO_ENABLED=0

# Extra tools through go install
# These run using the golang image version of Go, not any defined by `gvm`
RUN go install github.com/google/ko@${KO_VERSION}
Expand Down

0 comments on commit f837820

Please sign in to comment.