File

tools/build-env/here.sh @ 13486:fdd1438d9ef7

mod_pep: Implement 'roster' (group) access_model Allows e.g. restricting your vcard4 to only family or similar. Notes: This does not include roster groups in the configuration form, so the client will have to get them from the actual roster.
author Kim Alvefur <zash@zash.se>
date Sun, 03 Dec 2023 23:19:27 +0100
parent 13323:7bfd6db52528
line wrap: on
line source

#!/bin/sh -eux

tag="testing"

if [ "$#" -gt 0 ]; then
	tag="$1"
	shift
fi

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

$containerify run -it --rm \
	-v "$PWD:$PWD" \
	-w "$PWD" \
	-v "$HOME/.cache:$PWD/.cache" \
	--entrypoint /bin/bash \
	--userns=keep-id \
	--network \
	host "prosody.im/build-env:$tag" "$@"