File

tools/build-env/build.sh @ 13374:937cd9cabe21

lua-format: Tweaks attempting to fit our code style
author Kim Alvefur <zash@zash.se>
date Tue, 07 Jul 2020 18:23:23 +0200
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}"