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
This commit is contained in:
Mohammed Naser 2021-05-08 18:04:27 -04:00
parent f6f7b91590
commit e8c2b17e12

View File

@ -1,5 +1,5 @@
ARG GO_IMAGE=docker.io/golang:1.12.6-stretch ARG GO_IMAGE=docker.io/golang:1.16.4-buster
ARG RELEASE_IMAGE=scratch ARG RELEASE_IMAGE=ubuntu:focal
FROM ${GO_IMAGE} as builder FROM ${GO_IMAGE} as builder
SHELL [ "/bin/bash", "-cex" ] SHELL [ "/bin/bash", "-cex" ]