From cd968f3c51d9854e9b7f66f99b61ba6387a98012 Mon Sep 17 00:00:00 2001 From: Dominik Chilla Date: Sat, 5 Dec 2020 20:45:36 +0100 Subject: [PATCH] Multiarch OCI Dockerfile --- OCI/Dockerfile | 3 ++- OCI/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OCI/Dockerfile b/OCI/Dockerfile index e59791d..b30de9b 100644 --- a/OCI/Dockerfile +++ b/OCI/Dockerfile @@ -1,4 +1,5 @@ -FROM alpine +ARG ARCH +FROM $ARCH/alpine LABEL maintainer="Dominik Chilla " LABEL git_repo="https://github.com/chillout2k/exota-milter" diff --git a/OCI/README.md b/OCI/README.md index c905e45..08640ad 100644 --- a/OCI/README.md +++ b/OCI/README.md @@ -4,7 +4,7 @@ Actually I´m going with docker-ce to build the container image, but same result Run following command in the root directory of this repo: ``` -docker build -t exota-milter:local -f OCI/Dockerfile . +docker build -t exota-milter:local --build-arg ARCH=amd64 -f OCI/Dockerfile . [...] Successfully built 9cceb121f604 Successfully tagged exota-milter:local