TUN-3465: Use Go 1.15.3
This commit is contained in:
parent
c96b9e8d8f
commit
acd03e36e6
|
@ -1,7 +1,7 @@
|
||||||
# use a builder image for building cloudflare
|
# use a builder image for building cloudflare
|
||||||
ARG TARGET_GOOS
|
ARG TARGET_GOOS
|
||||||
ARG TARGET_GOARCH
|
ARG TARGET_GOARCH
|
||||||
FROM golang:1.15.2 as builder
|
FROM golang:1.15.3 as builder
|
||||||
ENV GO111MODULE=on \
|
ENV GO111MODULE=on \
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
TARGET_GOOS=${TARGET_GOOS} \
|
TARGET_GOOS=${TARGET_GOOS} \
|
||||||
|
|
10
cfsetup.yaml
10
cfsetup.yaml
|
@ -1,4 +1,4 @@
|
||||||
pinned_go: &pinned_go go=1.15.2-1
|
pinned_go: &pinned_go go=1.15.3-1
|
||||||
build_dir: &build_dir /cfsetup_build
|
build_dir: &build_dir /cfsetup_build
|
||||||
default-flavor: stretch
|
default-flavor: stretch
|
||||||
stretch: &stretch
|
stretch: &stretch
|
||||||
|
@ -250,8 +250,8 @@ centos-7:
|
||||||
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
- https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
pre-cache:
|
pre-cache:
|
||||||
- yum install -y fakeroot
|
- yum install -y fakeroot
|
||||||
- wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz -P /tmp/
|
- wget https://golang.org/dl/go1.15.3.linux-amd64.tar.gz -P /tmp/
|
||||||
- tar -C /usr/local -xzf /tmp/go1.15.2.linux-amd64.tar.gz
|
- tar -C /usr/local -xzf /tmp/go1.15.3.linux-amd64.tar.gz
|
||||||
post-cache:
|
post-cache:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- export GOOS=linux
|
- export GOOS=linux
|
||||||
|
@ -262,8 +262,8 @@ centos-7:
|
||||||
builddeps: *el7_builddeps
|
builddeps: *el7_builddeps
|
||||||
pre-cache:
|
pre-cache:
|
||||||
- yum install -y fakeroot
|
- yum install -y fakeroot
|
||||||
- wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz -P /tmp/
|
- wget https://golang.org/dl/go1.15.3.linux-amd64.tar.gz -P /tmp/
|
||||||
- tar -C /usr/local -xzf /tmp/go1.15.2.linux-amd64.tar.gz
|
- tar -C /usr/local -xzf /tmp/go1.15.3.linux-amd64.tar.gz
|
||||||
post-cache:
|
post-cache:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- export GOOS=linux
|
- export GOOS=linux
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.15.2 as builder
|
FROM golang:1.15.3 as builder
|
||||||
ENV GO111MODULE=on \
|
ENV GO111MODULE=on \
|
||||||
CGO_ENABLED=0
|
CGO_ENABLED=0
|
||||||
WORKDIR /go/src/github.com/cloudflare/cloudflared/
|
WORKDIR /go/src/github.com/cloudflare/cloudflared/
|
||||||
|
|
Loading…
Reference in New Issue