File

tools/build-env/build.sh @ 13396:16413bc29361

util.prosodyctl.shell: Add :method syntax to make e.g. MUC commands easier e.g. prosodyctl shell muc room room@muc.example.com :set_name "This Room"
author Kim Alvefur <zash@zash.se>
date Sat, 09 Dec 2023 16:25:04 +0100
parent 13323:7bfd6db52528
child 13403:0369f6986824
line wrap: on
line source

#!/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}"