aboutsummaryrefslogtreecommitdiffstats
path: root/tools/build-env/build.sh
blob: 5f25155a0be86eca02e8ea97fddca01396017074 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -eux

cd "$(dirname "$0")"

containerify="$(command -v podman docker)"

$containerify build -f ./Containerfile --squash \
	--build-arg os="${2:-debian}" \
	--build-arg dist="${1:-testing}" \
	-t "prosody.im/build-env:${1:-testing}"