We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a21e308 commit 508f933Copy full SHA for 508f933
dev.Dockerfile
@@ -4,6 +4,10 @@ ARG BASE_IMAGE_VERSION=v0.19.3-beta
4
5
FROM golang:${GO_VERSION}-alpine as builder
6
7
+# Allow defining the CGO_ENABLED variable so we can build binaries
8
+# that will work in a different type of container.
9
+ARG CGO_ENABLED=1
10
+
11
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
12
# queries required to connect to linked containers succeed.
13
ENV GODEBUG netdns=cgo
0 commit comments