From b363c63d44eef05a06f8f7ff7c471ac4392cc4e9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 11 Nov 2020 05:29:12 +0100 Subject: Support for ufo & jupyter notebooks --- run/devel.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'run/devel.sh') diff --git a/run/devel.sh b/run/devel.sh index ad8fa15..a15f203 100644 --- a/run/devel.sh +++ b/run/devel.sh @@ -2,10 +2,10 @@ set -o errexit +. config.sh + if [ ! -d ../repos ]; then - buildah unshare bash ../build/extract.sh + buildah unshare bash ../build/extract.sh ${image} fi -port="$(($(id -u) - 900))22" - -podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $port:2222/tcp -v ~/ccpi/data:/ccpi/data -v ~/ccpi/repos:/ccpi/repos localhost/ccpi bash -c "bash /root/setup/provision.sh; bash" +podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $ssh_port:2222/tcp -v ~/ccpi/data:/ccpi/data -v ~/ccpi/repos:/ccpi/repos localhost/${image} bash -c "bash /root/setup/provision.sh; bash" -- cgit v1.2.3