TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version

This commit is contained in:
cthuang
2021-09-21 12:06:27 +01:00
committed by Chung Ting Huang
parent 548e85829a
commit d54c8cc745
65 changed files with 99 additions and 1606 deletions

View File

@@ -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} \