mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Add a Dockerfile having all needed tooling. Using a container also means those are the libs that will end up being used in the AppImage. Then add a script for building pyrogenesis either form git or from extracted source tarballs and for assembling the AppImage and finally creating the AppImage. Add building the AppImage to the "bundles" pipeline. Also add a wrapper script to use podman to drive the whole process for convenience for local builds. Ref: #7577 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
7 lines
426 B
Bash
Executable file
7 lines
426 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
podman build -t 0ad-debian-12 -f build/jenkins/dockerfiles/debian-12.Dockerfile
|
|
podman build -t 0ad-debian-12-appimage --build-context debian-12=container-image://0ad-debian-12 -f build/jenkins/dockerfiles/debian-12-appimage.Dockerfile
|
|
|
|
podman run --mount=type=bind,source=.,destination=/mnt --workdir /mnt 0ad-debian-12-appimage source/tools/dist/build-appimage.sh "$@"
|