mirror of
https://github.com/harness-community/drone-email.git
synced 2026-06-04 18:24:18 +08:00
add docker create for ARM
adding all relevant docker buildx commands for arm.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user