File

tools/build-env/build.sh @ 13350:0573401b0f9f

mod_admin_shell: Support for 'shell-command' items (global and per-host) This should simplify adding shell commands from other modules, which will reduce the growth of mod_admin_shell and make it easier for community modules to expose commands too.
author Matthew Wild <mwild1@gmail.com>
date Wed, 29 Nov 2023 17:19:53 +0000
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}"