From b363c63d44eef05a06f8f7ff7c471ac4392cc4e9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 11 Nov 2020 05:29:12 +0100 Subject: Support for ufo & jupyter notebooks --- build/extract.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build/extract.sh') diff --git a/build/extract.sh b/build/extract.sh index 5321db8..17c6e3f 100644 --- a/build/extract.sh +++ b/build/extract.sh @@ -2,7 +2,11 @@ set -o errexit -container=$(buildah from localhost/ccpi) +image="$1" +[ -n "$image" ] || { echo "Usage: $0 "; exit 1; } + + +container=$(buildah from localhost/${image}) path=$(buildah mount $container) mkdir -p ../repos/ cp -ra "$path/ccpi/repos"/* ../repos/ -- cgit v1.2.1