From 8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 9 Mar 2020 03:37:34 +0100 Subject: Initial release --- build/extract.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build/extract.sh (limited to 'build/extract.sh') diff --git a/build/extract.sh b/build/extract.sh new file mode 100644 index 0000000..5321db8 --- /dev/null +++ b/build/extract.sh @@ -0,0 +1,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 -- cgit v1.2.3