Commit 38b8d2ae authored by Gaël Écorchard's avatar Gaël Écorchard
Browse files

Add image list as parameter to build_images

parent e26e6150
......@@ -4,11 +4,16 @@ set -e
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "${dir}"
files="$@"
# Images ordered to reflect dependencies.
files="
robolab_melodic
robolab_noetic
"
if [ ! "${files}" ]; then
files="
robolab_melodic
robolab_noetic
"
fi
for f in $files; do
sudo rm -f "${f}.simg"
sudo singularity build "${f}.simg" "${f}.txt" 2>&1 | tee "${f}.log" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment