diff options
author | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2023-08-10 23:58:50 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2023-08-10 23:58:50 +0200 |
commit | e0634ecd1538707edc5d8676ed16835cf4f8f2fc (patch) | |
tree | 7d871c3c6f45310c0631a7496283783237c3f6e9 /apps | |
parent | ea2245b35cbfddb8c7473453b7d977b0a64f61b2 (diff) | |
download | ccpi-e0634ecd1538707edc5d8676ed16835cf4f8f2fc.tar.gz ccpi-e0634ecd1538707edc5d8676ed16835cf4f8f2fc.tar.bz2 ccpi-e0634ecd1538707edc5d8676ed16835cf4f8f2fc.tar.xz ccpi-e0634ecd1538707edc5d8676ed16835cf4f8f2fc.zip |
Diffstat (limited to 'apps')
-rw-r--r-- | apps/buildah-dragonfly.sh | 11 | ||||
-rw-r--r-- | apps/run-dragonfly.sh | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/apps/buildah-dragonfly.sh b/apps/buildah-dragonfly.sh new file mode 100644 index 0000000..a55041c --- /dev/null +++ b/apps/buildah-dragonfly.sh @@ -0,0 +1,11 @@ +#! /usr/bin/env bash + +set -o errexit + +container=$(buildah from pycuda:latest) + +buildah config --env LANG="C.UTF-8" --env LC_ALL="C.UTF-8" --env TERM="xterm" $container +buildah run $container sh -c 'apt-get install -y libxcomposite-dev libxcursor-dev libxdamage-dev libxtst6 libpci3' + + +buildah commit --format docker $container dragonfly:latest diff --git a/apps/run-dragonfly.sh b/apps/run-dragonfly.sh new file mode 100644 index 0000000..a69d9a7 --- /dev/null +++ b/apps/run-dragonfly.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +set -o errexit + + +#podman run --name "dragonfly" -it --rm --cap-add SYS_ADMIN --cap-add=SYS_PTRACE --hooks-dir /usr/share/containers/oci/hooks.d/ -v /home/matin/ORS:/home/matin/ORS -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=${DISPLAY} --network=host dragonfly:latest + +podman run --name "dragonfly" -it --rm --cap-add SYS_ADMIN --cap-add=SYS_PTRACE --hooks-dir /usr/share/containers/oci/hooks.d/ -v /home/matin/ORS:/home/matin/ORS -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=${DISPLAY} dragonfly:latest |