From 8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 9 Mar 2020 03:37:34 +0100 Subject: Initial release --- run/update-from-devel.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 run/update-from-devel.sh (limited to 'run/update-from-devel.sh') diff --git a/run/update-from-devel.sh b/run/update-from-devel.sh new file mode 100644 index 0000000..19aee6b --- /dev/null +++ b/run/update-from-devel.sh @@ -0,0 +1,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 -- cgit v1.2.3