summaryrefslogtreecommitdiffstats
path: root/build/extract.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/extract.sh')
-rw-r--r--build/extract.sh9
1 files changed, 9 insertions, 0 deletions
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