garm/doc/building_from_source.md
Gabriel Adrian Samfira 3f7d9b9b99 Update README
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-07-18 14:56:58 +00:00

25 lines
No EOL
560 B
Markdown

# Building GARM from source
The procedure is simple. You will need to gave [go](https://golang.org/) installed as well as `make`.
First, clone the repository:
```bash
git clone https://github.com/cloudbase/garm
```
Then build garm:
```bash
make
```
You should now have both `garm` and `garm-cli` available in the `./bin` folder.
If you have docker/podman installed, you can also build a static binary against `musl`:
```bash
make build-static
```
This command will also build for both AMD64 and ARM64. Resulting binaries will be in the `./bin` folder.