Merge pull request #53 from igal-SX/patch-2

add docker create for ARM
This commit is contained in:
Michael de Wit 2021-09-15 16:21:36 +02:00 committed by GitHub
commit 0d6a70a9a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,14 @@ Build the docker image with the following commands:
docker build -t drillster/drone-email:latest .
```
Build the docker for ARM with buildx
```
docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx build --file Dockerfile.armhf --platform linux/arm64/v7,linux/arm64 -t drone-email:latest .
```
This will create a Docker image called `drillster/drone-email:latest`.
Please note incorrectly building the image for the correct x64 linux and with GCO disabled will result in an error when running the Docker image: