summaryrefslogtreecommitdiffstats
path: root/build/buildah-astra.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipecompute4.ands.kit.edu>2022-09-08 02:16:52 +0200
committerSuren A. Chilingaryan <csa@ipecompute4.ands.kit.edu>2022-09-08 02:16:52 +0200
commitea2245b35cbfddb8c7473453b7d977b0a64f61b2 (patch)
treec97fb8c2e4c0f081eeb44cfb360f5d54c577a725 /build/buildah-astra.sh
parenta3f77df3864464fa8cd6fdc613d2cf4bbae39124 (diff)
downloadccpi-ea2245b35cbfddb8c7473453b7d977b0a64f61b2.tar.gz
ccpi-ea2245b35cbfddb8c7473453b7d977b0a64f61b2.tar.bz2
ccpi-ea2245b35cbfddb8c7473453b7d977b0a64f61b2.tar.xz
ccpi-ea2245b35cbfddb8c7473453b7d977b0a64f61b2.zip
Update containers to ubuntu 22.04, gcc-12; include perf/gdb; add python libraries for opencv, machine learning, etc.
Diffstat (limited to 'build/buildah-astra.sh')
-rw-r--r--build/buildah-astra.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/buildah-astra.sh b/build/buildah-astra.sh
index 1282e28..6f6e7b1 100644
--- a/build/buildah-astra.sh
+++ b/build/buildah-astra.sh
@@ -2,9 +2,12 @@
set -o errexit
-container=$(buildah from pycuda:latest)
+tag=latest
+[ -n "$1" ] && tag="$1"
+
+container=$(buildah from pycuda:$tag)
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 "astra"
-buildah commit --format docker $container astra:latest
+buildah commit --format docker $container astra:$tag