From 7eab859030f2b57491c8d4b2f9f110f6fa3badfe Mon Sep 17 00:00:00 2001 From: Stefan Benten Date: Sun, 20 Dec 2020 08:26:23 +0100 Subject: [PATCH] cmd: ensure proper arch is used for docker container --- cmd/storagenode/Dockerfile | 3 ++- cmd/uplink/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/storagenode/Dockerfile b/cmd/storagenode/Dockerfile index d67b4d1fb..a6cfb6a23 100644 --- a/cmd/storagenode/Dockerfile +++ b/cmd/storagenode/Dockerfile @@ -1,8 +1,9 @@ +ARG DOCKER_ARCH + # Fetch ca-certificates file for arch independent builds below FROM alpine as ca-cert RUN apk -U add ca-certificates -ARG DOCKER_ARCH FROM ${DOCKER_ARCH:-amd64}/alpine ARG TAG ARG GOARCH diff --git a/cmd/uplink/Dockerfile b/cmd/uplink/Dockerfile index b7975461b..e6692c7b7 100644 --- a/cmd/uplink/Dockerfile +++ b/cmd/uplink/Dockerfile @@ -1,8 +1,9 @@ +ARG DOCKER_ARCH + # Fetch ca-certificates file for arch independent builds below FROM alpine as ca-cert RUN apk -U add ca-certificates -ARG DOCKER_ARCH FROM ${DOCKER_ARCH:-amd64}/alpine ARG TAG ARG GOARCH