mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
docker: Add instructions for cross-compiling
This patch adds instructions on how to cross-compile the Docker build. https://github.com/albertito/chasquid/pull/67 Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Adjusted commit message.
This commit is contained in:
committed by
Alberto Bertogli
parent
2b9d1faabf
commit
d82380901c
@@ -26,6 +26,11 @@ If, instead, you want to build the image yourself, just run:
|
|||||||
$ docker build -t chasquid -f docker/Dockerfile .
|
$ docker build -t chasquid -f docker/Dockerfile .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or, if you are cross-compiling for a different architecture, e.g. `arm64`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker build --platform=linux/arm64 -t chasquid -f docker/Dockerfile .
|
||||||
|
```
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user