summaryrefslogtreecommitdiffstats
path: root/build/extract.sh
blob: 5321db85fdf1bce4621952a2a1b5ebf5f57c29b9 (plain)
1
2
3
4
5
6
7
8
9
#! /usr/bin/env bash

set -o errexit

container=$(buildah from localhost/ccpi)
path=$(buildah mount $container)
mkdir -p ../repos/
cp -ra "$path/ccpi/repos"/* ../repos/
buildah umount $container