|
8ccbce3e5d
|
Added dockerfile for static builds and kitware (CMake) key for ppa
Step 1: Build a docker base image
```bash
docker build -f Dockerfile_linux_static --tag town:town --build-arg THREADS=8 .
```
```bash
docker run --rm -it -v <TOWNFORGE_DIR_FULL_PATH>:/townforge -w /townforge town:town sh -c 'make release-static -j8`
```
`<TOWNFORGE_DIR_FULL_PATH>` - absolute path to `townforge` directory
Townforge static binaries will be placed in the `townforge/release/bin/`
directory.
|
2020-08-31 00:24:46 +02:00 |
|