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