File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# use a builder image for building cloudflare
22ARG TARGET_GOOS
33ARG TARGET_GOARCH
4- FROM golang:1.15.7 as builder
4+ FROM golang:1.16.4 as builder
55ENV GO111MODULE=on \
66 CGO_ENABLED=0 \
77 TARGET_GOOS=${TARGET_GOOS} \
Original file line number Diff line number Diff line change 1- pinned_go : &pinned_go go=1.15.7-1
1+ pinned_go : &pinned_go go=1.16.4-3
22pinned_go_fips : &pinned_go_fips go-fips=1.15.5-3
33
44build_dir : &build_dir /cfsetup_build
@@ -279,8 +279,8 @@ centos-7:
279279 - https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
280280 pre-cache :
281281 - yum install -y fakeroot
282- - wget https://golang.org/dl/go1.15.7 .linux-amd64.tar.gz -P /tmp/
283- - tar -C /usr/local -xzf /tmp/go1.15.7 .linux-amd64.tar.gz
282+ - wget https://golang.org/dl/go1.16.4 .linux-amd64.tar.gz -P /tmp/
283+ - tar -C /usr/local -xzf /tmp/go1.16.4 .linux-amd64.tar.gz
284284 post-cache :
285285 - export PATH=$PATH:/usr/local/go/bin
286286 - export GOOS=linux
@@ -291,8 +291,8 @@ centos-7:
291291 builddeps : *el7_builddeps
292292 pre-cache :
293293 - yum install -y fakeroot
294- - wget https://golang.org/dl/go1.15.7 .linux-amd64.tar.gz -P /tmp/
295- - tar -C /usr/local -xzf /tmp/go1.15.7 .linux-amd64.tar.gz
294+ - wget https://golang.org/dl/go1.16.4 .linux-amd64.tar.gz -P /tmp/
295+ - tar -C /usr/local -xzf /tmp/go1.16.4 .linux-amd64.tar.gz
296296 post-cache :
297297 - export PATH=$PATH:/usr/local/go/bin
298298 - export GOOS=linux
Original file line number Diff line number Diff line change 1- FROM golang:1.15.7 as builder
1+ FROM golang:1.16.4 as builder
22ENV GO111MODULE=on \
33 CGO_ENABLED=0
44WORKDIR /go/src/github.com/cloudflare/cloudflared/
You can’t perform that action at this time.
0 commit comments