summaryrefslogtreecommitdiffstats
path: root/build/buildah-ufo.sh
blob: bdc633133c1d4b276521c82f2efca5681fbccd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/env bash

set -o errexit

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 "ufo"

buildah commit --format docker $container ufo:$tag