Commit af8eb640 authored by Tomas Petricek's avatar Tomas Petricek
Browse files

Build image script updated.

parent 8c32a555
......@@ -5,8 +5,14 @@ dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "${dir}"
# Images ordered to reflect dependencies.
for f in ros_kinetic_robolab ros_melodic_robolab; do
sudo rm -f $f.simg
sudo singularity build $f.simg $f.txt
sudo chown $USER:$USER $f.simg
files="
aro_melodic
ros_kinetic_robolab
ros_melodic_robolab
"
# for f in ${files}; do
for f in aro_melodic; do
sudo rm -f "${f}.simg"
sudo singularity build "${f}.simg" "${f}.txt" 2>&1 | tee "${f}.log" \
&& sudo chown ${USER}:${USER} "${f}.simg"
done
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