Update Go to 1.14.2
This commit is contained in:
parent
e87ddedc73
commit
d1de9051e8
5 changed files with 6 additions and 5 deletions
|
|
@ -45,6 +45,7 @@ RUN apt-get update \
|
|||
ARG K8S_RELEASE
|
||||
ARG ETCD_VERSION
|
||||
ARG KIND_VERSION
|
||||
ARG GO_VERSION
|
||||
|
||||
RUN curl -sSL https://storage.googleapis.com/kubernetes-release/release/${K8S_RELEASE}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl \
|
||||
&& chmod +x /usr/local/bin/kubectl
|
||||
|
|
@ -62,7 +63,6 @@ RUN curl -sSL https://github.com/kubernetes-sigs/kind/releases/download/${KIND_V
|
|||
&& chmod +x /usr/local/bin/kind
|
||||
|
||||
# install go
|
||||
ENV GO_VERSION 1.14.1
|
||||
ENV GO_TARBALL "go${GO_VERSION}.linux-amd64.tar.gz"
|
||||
RUN wget -q "https://storage.googleapis.com/golang/${GO_TARBALL}" \
|
||||
&& tar xzf "${GO_TARBALL}" -C /usr/local \
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ docker-build:
|
|||
--build-arg K8S_RELEASE=v1.17.0 \
|
||||
--build-arg ETCD_VERSION=v3.3.18 \
|
||||
--build-arg KIND_VERSION=v0.7.0 \
|
||||
--build-arg GOLANG_VERSION=1.14.2 \
|
||||
-t $(IMAGE):$(TAG) .
|
||||
|
||||
docker-push:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue