blob: a5eb84cb89ee3dbbb9ff56eb9924521597eac506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/bash
set -o errexit
. config.sh
if [ ! -d ../repos ]; then
buildah unshare bash ../build/extract.sh ${image}
fi
podman run --name "ccpi-devel" -it --rm $options -p $ssh_port:2222/tcp $volumes ${image} bash -c "[ -f /usr/bin/supervisord ] && python /usr/bin/supervisord; bash /root/setup/provision.sh; bash"
|