mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 07:38:36 -06:00
docs: Added a note about building
This commit is contained in:
parent
6d3d220cff
commit
dfefff2703
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ For building on `arm64` or `arm/v7`, use the following:
|
||||||
```
|
```
|
||||||
docker build . -t chhoto-url --build-arg target=<desired-target>
|
docker build . -t chhoto-url --build-arg target=<desired-target>
|
||||||
```
|
```
|
||||||
|
Make sure that the desired target is a `musl` one, since the docker image is built from `scratch`.
|
||||||
For cross-compilation, take a look at the `Makefile`. It builds and pushes for `linux/amd64`, `linux/aarch64`
|
For cross-compilation, take a look at the `Makefile`. It builds and pushes for `linux/amd64`, `linux/aarch64`
|
||||||
and `linux/arm/v7` architectures. For any other architectures, open a discussion, and I'll try to help you out.
|
and `linux/arm/v7` architectures. For any other architectures, open a discussion, and I'll try to help you out.
|
||||||
1. Run the image
|
1. Run the image
|
||||||
|
|
Loading…
Reference in a new issue