summaryrefslogtreecommitdiffstats
path: root/run/update-from-devel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run/update-from-devel.sh')
-rw-r--r--run/update-from-devel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/update-from-devel.sh b/run/update-from-devel.sh
index b2a8b25..4eb8e7b 100644
--- a/run/update-from-devel.sh
+++ b/run/update-from-devel.sh
@@ -8,7 +8,7 @@ if [ ! -d ../repos ]; then
buildah unshare bash ../build/extract.sh ${image}
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/${image} bash /root/setup/provision.sh
+podman run --name "ccpi-devel" -it --hooks-dir /usr/share/containers/oci/hooks.d/ $volumes localhost/${image} bash /root/setup/provision.sh
podman container cp ../repos/ ccpi-devel:/ccpi/
podman container commit ccpi-devel ${image}:devel
podman rm ccpi-devel