File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ ARG TARGET_GOOS
33ARG TARGET_GOARCH
44FROM golang:1.22.5 as builder
55ENV GO111MODULE=on \
6- CGO_ENABLED=0 \
7- TARGET_GOOS=${TARGET_GOOS} \
8- TARGET_GOARCH=${TARGET_GOARCH} \
9- CONTAINER_BUILD=1
6+ CGO_ENABLED=0 \
7+ TARGET_GOOS=${TARGET_GOOS} \
8+ TARGET_GOARCH=${TARGET_GOARCH} \
9+ # the CONTAINER_BUILD envvar is used set github.com/cloudflare/cloudflared/metrics.Runtime=virtual
10+ # which changes how cloudflared binds the metrics server
11+ CONTAINER_BUILD=1
1012
1113
1214WORKDIR /go/src/github.com/cloudflare/cloudflared/
Original file line number Diff line number Diff line change 11# use a builder image for building cloudflare
22FROM golang:1.22.5 as builder
33ENV GO111MODULE=on \
4- CGO_ENABLED=0
4+ CGO_ENABLED=0 \
5+ # the CONTAINER_BUILD envvar is used set github.com/cloudflare/cloudflared/metrics.Runtime=virtual
6+ # which changes how cloudflared binds the metrics server
7+ CONTAINER_BUILD=1
58
69WORKDIR /go/src/github.com/cloudflare/cloudflared/
710
Original file line number Diff line number Diff line change 11# use a builder image for building cloudflare
22FROM golang:1.22.5 as builder
33ENV GO111MODULE=on \
4- CGO_ENABLED=0
4+ CGO_ENABLED=0 \
5+ # the CONTAINER_BUILD envvar is used set github.com/cloudflare/cloudflared/metrics.Runtime=virtual
6+ # which changes how cloudflared binds the metrics server
7+ CONTAINER_BUILD=1
58
69WORKDIR /go/src/github.com/cloudflare/cloudflared/
710
You can’t perform that action at this time.
0 commit comments