https://github.com/visual-vincent/zandronum-docker-builds
Tools for building Docker images of Zandronum
https://github.com/visual-vincent/zandronum-docker-builds
Last synced: 3 months ago
JSON representation
Tools for building Docker images of Zandronum
- Host: GitHub
- URL: https://github.com/visual-vincent/zandronum-docker-builds
- Owner: Visual-Vincent
- Created: 2021-12-15T22:51:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-16T12:33:12.000Z (over 3 years ago)
- Last Synced: 2025-02-24T03:57:34.007Z (3 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zandronum Docker Builds
Scripts for building Zandronum for specific Linux distros with the help of Docker containers.## How to use
1. Install [Docker](https://docs.docker.com/get-docker/)
2. Enter the directory of the Zandronum version which you would like to build
```shell
cd zan3.1
```
3. Execute the `build-*.sh` script of your choice (where `*` is the OS you want to build for)
```shell
./build-AlmaLinux-8.sh
```## Building the client binaries
By default the script builds only the server binaries. If you would like to build the client binaries as well, set the environment variable `ZAN_BUILD_CLIENT` to `1` before running the script.```shell
ZAN_BUILD_CLIENT=1 ./build-AlmaLinux-8.sh
```## Extracting the binaries
To retrieve the binaries from the resulting Docker image, you may utilize the `tools/extract-bin.sh` script to extract them into an uncompressed `.tar` file:```shell
# Extract client binaries
tools/extract-bin.sh client zandronum:3.1-almalinux8 /path/to/destination/zandronum3.1-client.tar# Extract server binaries
tools/extract-bin.sh server zandronum:3.1-almalinux8 /path/to/destination/zandronum3.1-server.tar
```