mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
docs: Added a note about building
This commit is contained in:
parent
6d3d220cff
commit
dfefff2703
@ -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 New Issue
Block a user