diff options
Diffstat (limited to 'build/buildah-tomo.sh')
-rw-r--r-- | build/buildah-tomo.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/buildah-tomo.sh b/build/buildah-tomo.sh index ed9287e..486f182 100644 --- a/build/buildah-tomo.sh +++ b/build/buildah-tomo.sh @@ -2,10 +2,13 @@ set -o errexit -container=$(buildah from ccpi:latest) +tag=latest +[ -n "$1" ] && tag="$1" + +container=$(buildah from ccpi:$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 tomo:latest +buildah commit --format docker $container tomo:$tag |