summaryrefslogtreecommitdiffstats
path: root/build/extract.sh
diff options
context:
space:
mode:
authorMatin Dehghani <matin@ipecompute4.ands.kit.edu>2022-06-26 01:07:34 +0200
committerMatin Dehghani <matin@ipecompute4.ands.kit.edu>2022-06-26 01:07:34 +0200
commitf33bcbf3c0839c6bebb63141ff3d520b41084183 (patch)
tree6b373e8e123607755940b6ae3cc8076f5977a145 /build/extract.sh
parentd4f8c2c238342bf3adfa236c49ff43eecd018201 (diff)
downloadccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.gz
ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.bz2
ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.tar.xz
ccpi-f33bcbf3c0839c6bebb63141ff3d520b41084183.zip
More fine-grained image management (e.g. allow to get prebuilt images from other user and adapt ids inside with change-user.sh script)
Diffstat (limited to 'build/extract.sh')
-rw-r--r--build/extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/extract.sh b/build/extract.sh
index 17c6e3f..90793d5 100644
--- a/build/extract.sh
+++ b/build/extract.sh
@@ -6,7 +6,7 @@ image="$1"
[ -n "$image" ] || { echo "Usage: $0 <astra|ccpi|ufo|tomo|imageX>"; exit 1; }
-container=$(buildah from localhost/${image})
+container=$(buildah from ${image})
path=$(buildah mount $container)
mkdir -p ../repos/
cp -ra "$path/ccpi/repos"/* ../repos/