blob: 19aee6b4c3cf105d9901fac43dfa0f6d0813ea3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/bash
set -o errexit
if [ ! -d ../repos ]; then
buildah unshare bash ../build/extract.sh
fi
podman run --name "ccpi-devel" -it --hooks-dir /usr/share/containers/oci/hooks.d/ -v ~/ccpi/data:/ccpi/data -v ~/ccpi/repos:/ccpi/repos localhost/ccpi bash /root/setup/provision.sh
podman container cp ../repos/ ccpi-devel:/ccpi/
podman container commit ccpi-devel ccpi:devel
podman rm ccpi-devel
|