diff options
Diffstat (limited to 'build/buildah-ufo.sh')
-rw-r--r-- | build/buildah-ufo.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/buildah-ufo.sh b/build/buildah-ufo.sh index ee8e328..bdc6331 100644 --- a/build/buildah-ufo.sh +++ b/build/buildah-ufo.sh @@ -2,10 +2,13 @@ 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 "ufo" -buildah commit --format docker $container ufo:latest +buildah commit --format docker $container ufo:$tag |