summaryrefslogtreecommitdiffstats
path: root/build/update.sh
blob: 0201a4dd0fdbc58e084c4d9774ff7e166e2c648a (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 "all" "/root/setup"

#buildah commit --format docker $container ccpi:latest
echo "buildah commit --format docker $container ccpi:latest"