summaryrefslogtreecommitdiffstats
path: root/run/update-from-devel.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-11-11 05:29:12 +0100
committerSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-11-11 05:29:12 +0100
commitb363c63d44eef05a06f8f7ff7c471ac4392cc4e9 (patch)
treebc95b45f56aed16e3ed005e01a762dad29fad205 /run/update-from-devel.sh
parent28190b6d4664508ad8b1cf88a82378b02f487cfa (diff)
downloadccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.gz
ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.bz2
ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.xz
ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.zip
Support for ufo & jupyter notebooks
Diffstat (limited to 'run/update-from-devel.sh')
-rw-r--r--run/update-from-devel.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/run/update-from-devel.sh b/run/update-from-devel.sh
index 19aee6b..b2a8b25 100644
--- a/run/update-from-devel.sh
+++ b/run/update-from-devel.sh
@@ -2,11 +2,13 @@
set -o errexit
+. config.sh
+
if [ ! -d ../repos ]; then
- buildah unshare bash ../build/extract.sh
+ 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/ccpi bash /root/setup/provision.sh
+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 container cp ../repos/ ccpi-devel:/ccpi/
-podman container commit ccpi-devel ccpi:devel
+podman container commit ccpi-devel ${image}:devel
podman rm ccpi-devel