Multiarch OCI Dockerfile

This commit is contained in:
Dominik Chilla 2020-12-05 20:45:36 +01:00
parent 368c6b4b77
commit cd968f3c51
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
FROM alpine
ARG ARCH
FROM $ARCH/alpine
LABEL maintainer="Dominik Chilla <dominik@zwackl.de>"
LABEL git_repo="https://github.com/chillout2k/exota-milter"

View File

@ -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