mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 17:39:57 +00:00
TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version
This commit is contained in:

committed by
Chung Ting Huang

parent
548e85829a
commit
d54c8cc745
@@ -1,7 +1,7 @@
|
||||
# use a builder image for building cloudflare
|
||||
ARG TARGET_GOOS
|
||||
ARG TARGET_GOARCH
|
||||
FROM golang:1.16.4 as builder
|
||||
FROM golang:1.17.1 as builder
|
||||
ENV GO111MODULE=on \
|
||||
CGO_ENABLED=0 \
|
||||
TARGET_GOOS=${TARGET_GOOS} \
|
||||
|
Reference in New Issue
Block a user