From 72c408bfbc68fa83008e6ddd0b9b3eb858c92ad8 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 5 Jun 2021 22:55:58 +0200 Subject: [PATCH] Update Golang to 1.13.15 Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 584728ec0d40b2b717729ea77382dbf28e76c52c) Signed-off-by: Ameya Gawde --- .circleci/config.yml | 2 +- Dockerfile | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0fcf6dfc7..467f61e2ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ jobs: # Needed to install go OS: linux ARCH: amd64 - GOVERSION: 1.11 + GOVERSION: 1.13 # Needed to install protoc PROTOC_VERSION: 3.6.1 diff --git a/Dockerfile b/Dockerfile index fa099aa4f2..58dc21e720 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ # NOTE(dperny): for some reason, alpine was giving me trouble -FROM golang:1.11.0-stretch +ARG GO_VERSION=1.13.15 +ARG DEBIAN_FRONTEND=noninteractive +ARG BASE_DEBIAN_DISTRO="buster" +ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}" + +FROM ${GOLANG_IMAGE} RUN apt-get update && apt-get install -y make git unzip