summaryrefslogtreecommitdiffstats
path: root/build/buildah-ufo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/buildah-ufo.sh')
-rw-r--r--build/buildah-ufo.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/buildah-ufo.sh b/build/buildah-ufo.sh
new file mode 100644
index 0000000..ee8e328
--- /dev/null
+++ b/build/buildah-ufo.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" --env HOME=/ccpi/data $container
+
+buildah run $container bash /root/setup/repos.sh "ufo"
+
+buildah commit --format docker $container ufo:latest