summaryrefslogtreecommitdiffstats
path: root/build/update.sh
blob: 7f5dcd0b1aecc8b29fa4794800e992c2e5ab6ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"