From 9b58ca99d7a0f5c93cfa721be7957b75677e3dee Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Mon, 11 Oct 2021 10:20:58 +0200 Subject: [PATCH] Use correct (?) base image --- build/ci/.goreleaser.yml | 2 ++ build/package/docker/GoReleaser.Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/ci/.goreleaser.yml b/build/ci/.goreleaser.yml index 71e279fe..649ea186 100644 --- a/build/ci/.goreleaser.yml +++ b/build/ci/.goreleaser.yml @@ -37,6 +37,7 @@ dockers: dockerfile: build/package/docker/GoReleaser.Dockerfile build_flag_templates: - "--platform=linux/amd64" + - "--build-arg=ARCH=amd64/" ids: - kube-httpcache goos: linux @@ -53,6 +54,7 @@ dockers: dockerfile: build/package/docker/GoReleaser.Dockerfile build_flag_templates: - "--platform=linux/arm64/v8" + - "--build-arg=ARCH=arm64v8/" ids: - kube-httpcache goos: linux diff --git a/build/package/docker/GoReleaser.Dockerfile b/build/package/docker/GoReleaser.Dockerfile index c884c05c..ae303bd4 100644 --- a/build/package/docker/GoReleaser.Dockerfile +++ b/build/package/docker/GoReleaser.Dockerfile @@ -1,4 +1,5 @@ -FROM debian:stretch-slim +ARG ARCH= +FROM ${ARCH}debian:stretch-slim LABEL MAINTAINER="Martin Helmich "