Software /
code /
prosody
Comparison
tools/build-env/build.sh @ 13323:7bfd6db52528
tools/build-env: Tools for building and testing in a container
./tools/build-env/build.sh
Creates a container image based on Debian or Ubuntu
./tools/build-env/here.sh
Starts a container and mounts in the current working directory, from
where one can ./configure; make; make test etc
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 12 Nov 2023 13:02:38 +0100 |
child | 13403:0369f6986824 |
comparison
equal
deleted
inserted
replaced
13322:28211ed70b4c | 13323:7bfd6db52528 |
---|---|
1 #!/bin/sh -eux | |
2 | |
3 cd "$(dirname "$0")" | |
4 | |
5 containerify="$(command -v podman docker)" | |
6 | |
7 $containerify build -f ./Containerfile --squash \ | |
8 --build-arg os="${2:-debian}" \ | |
9 --build-arg dist="${1:-testing}" \ | |
10 -t "prosody.im/build-env:${1:-testing}" | |
11 |