diff options
author | Matin Dehghani <matin@ipecompute4.ands.kit.edu> | 2022-06-26 01:07:34 +0200 |
---|---|---|
committer | Matin Dehghani <matin@ipecompute4.ands.kit.edu> | 2022-06-26 01:07:34 +0200 |
commit | f33bcbf3c0839c6bebb63141ff3d520b41084183 (patch) | |
tree | 6b373e8e123607755940b6ae3cc8076f5977a145 /run/devel.sh | |
parent | d4f8c2c238342bf3adfa236c49ff43eecd018201 (diff) | |
download | ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.gz ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.bz2 ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.xz ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.zip |
More fine-grained image management (e.g. allow to get prebuilt images from other user and adapt ids inside with change-user.sh script)
Diffstat (limited to 'run/devel.sh')
-rw-r--r-- | run/devel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run/devel.sh b/run/devel.sh index 637552a..fef44e0 100644 --- a/run/devel.sh +++ b/run/devel.sh @@ -8,4 +8,4 @@ if [ ! -d ../repos ]; then buildah unshare bash ../build/extract.sh ${image} fi -podman run --name "ccpi-devel" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p $ssh_port:2222/tcp $volumes localhost/${image} 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 $volumes ${image} bash -c "[ -f /usr/bin/supervisord ] && python /usr/bin/supervisord; bash /root/setup/provision.sh; bash" |