summaryrefslogtreecommitdiffstats
path: root/run/devel.sh
blob: 57ec7f0ed070badbad49c8fd49d542adb57dff3c (plain)
1
2
3
4
5
6
7
8
9
#! /bin/bash

set -o errexit

if [ ! -d ../repos ]; then
    buildah unshare bash ../build/extract.sh
fi

podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -v ~/ccpi/data:/ccpi/data -v ~/ccpi/repos:/ccpi/repos localhost/ccpi bash -c "bash /root/setup/provision.sh; bash"