From 6699770fe7eec6ccedb9abfb99072ca73ed63071 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Fri, 3 Dec 2021 15:26:53 +0000 Subject: [PATCH] Go 1.17.4 Signed-off-by: Ilya Dmitrichenko --- .circleci/config.yml | 3 ++- Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3095d3f4d2..ba298a4d1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,8 @@ jobs: # Needed to install go OS: linux ARCH: amd64 - GOVERSION: 1.13 + GOVERSION: 1.17 + GO111MODULE: "off" # Needed to install protoc PROTOC_VERSION: 3.6.1 diff --git a/Dockerfile b/Dockerfile index 58dc21e720..a8f5b21418 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # NOTE(dperny): for some reason, alpine was giving me trouble -ARG GO_VERSION=1.13.15 +ARG GO_VERSION=1.17.4 ARG DEBIAN_FRONTEND=noninteractive ARG BASE_DEBIAN_DISTRO="buster" ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}" @@ -16,6 +16,7 @@ RUN curl --silent --show-error --location --output protoc.zip \ && unzip -d /usr/local protoc.zip include/\* bin/\* \ && rm -f protoc.zip +ENV GO111MODULE=off WORKDIR /go/src/github.com/docker/swarmkit/ # install the dependencies from `make setup`