diff options
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" |