From e0634ecd1538707edc5d8676ed16835cf4f8f2fc Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 10 Aug 2023 23:58:50 +0200 Subject: Add folder with containers for some GUI postprocessing apps, dragonfly for now --- apps/buildah-dragonfly.sh | 11 +++++++++++ apps/run-dragonfly.sh | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 apps/buildah-dragonfly.sh create mode 100644 apps/run-dragonfly.sh (limited to 'apps') 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 -- cgit v1.2.3