1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-10-16 13:27:03 -05:00

docs: Added a note about building

This commit is contained in:
Sayantan Santra 2024-03-25 01:40:10 -05:00
parent 6d3d220cff
commit dfefff2703
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -83,6 +83,7 @@ For building on `arm64` or `arm/v7`, use the following:
```
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`
and `linux/arm/v7` architectures. For any other architectures, open a discussion, and I'll try to help you out.
1. Run the image