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 /build/buildah-ccpi.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 'build/buildah-ccpi.sh')
-rw-r--r-- | build/buildah-ccpi.sh | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/build/buildah-ccpi.sh b/build/buildah-ccpi.sh index 1bc6b10..3d006fc 100644 --- a/build/buildah-ccpi.sh +++ b/build/buildah-ccpi.sh @@ -4,18 +4,7 @@ set -o errexit container=$(buildah from astra:latest) -buildah config --env LANG="C.UTF-8" --env LC_ALL="C.UTF-8" --env TERM="xterm" --env CIL_VERSION=19.10 --env HOME=/ccpi/data $container -buildah config --port 2222 $container +buildah config --env LANG="C.UTF-8" --env LC_ALL="C.UTF-8" --env TERM="xterm" --env CIL_VERSION=19.10 --env HOME=/ccpi/data --env LD_LIBRARY_PATH="/ccpi/repos/CCPi-Regularisation-Toolkit/src/Core:/ccpi/repos/CCPi-Framework/src/Core" $container +buildah run $container bash /root/setup/repos.sh "ccpi" -buildah run $container bash /root/setup/repos.sh "all" - -buildah run $container sh -c "echo '$(id -ng):x:$(id -g):' >> /etc/group" -#buildah run $container sh -c "echo '$(id -nu):x:$(id -u):$(id -g):$(id -nu):/ccpi/data:/bin/bash' >> /etc/passwd" -buildah run $container sh -c "echo '$(id -nu):x:0:0:$(id -nu):/ccpi/data:/bin/bash' >> /etc/passwd" - -buildah run $container sh -c 'service ssh start' -buildah run $container sh -c "echo '$(id -nu):test' | chpasswd" buildah commit --format docker $container ccpi:latest - -echo $container - |