add docker create for ARM
adding all relevant docker buildx commands for arm.
This commit is contained in:
parent
1d2b6deb8d
commit
c232253af7
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue