blob: 4351f8b8ab552a903fe098d292a42c8d4fdcaf75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh -eux
cd "$(dirname "$0")"
containerify="$(command -v podman || command -v docker)"
if [ -z "$containerify" ]; then
echo "podman or docker required" >&2
exit 1
fi
$containerify build -f ./Containerfile --squash \
--build-arg os="${2:-debian}" \
--build-arg dist="${1:-testing}" \
-t "prosody.im/build-env:${1:-testing}"
|