From d507f43105e2ce90b43352736e768b0f08a7268d Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Fri, 1 May 2020 14:19:30 -0700 Subject: [PATCH] Build updates Move to go 1.14 Explicitly apt-get update when building --- Dockerfile.in | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.in b/Dockerfile.in index 59c2061..ed16d31 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -15,6 +15,7 @@ FROM {ARG_FROM} RUN apt-get update \ + && apt-get -y upgrade \ && apt-get -y install \ ca-certificates \ coreutils \ diff --git a/Makefile b/Makefile index 08d7209..9927285 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ BASEIMAGE ?= k8s.gcr.io/debian-base:v2.0.0 IMAGE := $(REGISTRY)/$(BIN) TAG := $(VERSION)__$(OS)_$(ARCH) -BUILD_IMAGE ?= golang:1.13-alpine +BUILD_IMAGE ?= golang:1.14-alpine # If you want to build all binaries, see the 'all-build' rule. # If you want to build all containers, see the 'all-container' rule.