summaryrefslogtreecommitdiffstats
path: root/build/update.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-03-09 03:37:34 +0100
committerSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-03-09 03:37:34 +0100
commit8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 (patch)
treedc313b424aab723f8a9b17865cdcf0904eb501d0 /build/update.sh
downloadccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.gz
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.bz2
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.xz
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.zip
Initial release
Diffstat (limited to 'build/update.sh')
-rw-r--r--build/update.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/update.sh b/build/update.sh
new file mode 100644
index 0000000..7f5dcd0
--- /dev/null
+++ b/build/update.sh
@@ -0,0 +1,16 @@
+#! /usr/bin/env bash
+
+set -o errexit
+
+#container=cuda-working-container-15
+container=$(buildah from localhost/ccpi)
+
+#buildah run $container bash
+#exit
+
+buildah config --env CIL_VERSION=19.10 --env HOME=/ccpi/data $container
+buildah copy $container setup /root/setup
+buildah run $container bash /root/setup/repos.sh "/root/setup"
+
+#buildah commit --format docker $container ccpi:latest
+echo "buildah commit --format docker $container ccpi:latest"