diff options
author | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-11-11 05:29:12 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-11-11 05:29:12 +0100 |
commit | b363c63d44eef05a06f8f7ff7c471ac4392cc4e9 (patch) | |
tree | bc95b45f56aed16e3ed005e01a762dad29fad205 /run/devel.sh | |
parent | 28190b6d4664508ad8b1cf88a82378b02f487cfa (diff) | |
download | ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.gz ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.bz2 ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.tar.xz ccpi-b363c63d44eef05a06f8f7ff7c471ac4392cc4e9.zip |
Support for ufo & jupyter notebooks
Diffstat (limited to 'run/devel.sh')
-rw-r--r-- | run/devel.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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" |