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

set -o errexit

container=$(buildah from ccpi:latest)

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