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:
parent
f6f7b91590
commit
e8c2b17e12
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user