From e8c2b17e1261c6a1b0fed1fcd5e1c337fc014219 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sat, 8 May 2021 18:04:27 -0400 Subject: [PATCH] Fix image builds The default GO_IMAGE setup does not work because it's too old of a version that doesn't support Go modules. The release images of scratch does not work because we run an apt-get install for coreutils which is not possible on scratch. Change-Id: I21a5d0622e61f631c69354f8211c60a508f99223 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84a20a0..5abbc01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG GO_IMAGE=docker.io/golang:1.12.6-stretch -ARG RELEASE_IMAGE=scratch +ARG GO_IMAGE=docker.io/golang:1.16.4-buster +ARG RELEASE_IMAGE=ubuntu:focal FROM ${GO_IMAGE} as builder SHELL [ "/bin/bash", "-cex" ]