Commit f526ba76 authored by Roger Shimizu's avatar Roger Shimizu
Browse files

temp

parent 78b48072
No related merge requests found
Showing with 9 additions and 0 deletions
+9 -0
......@@ -190,6 +190,15 @@ docker_run() {
"
[ "$os_ver" != "22.04" ] &&
VOL+="--privileged"
if [ "$USER" != "rosh" ]; then
VOL+=" \
-v /home/workspace/${USER}:/home/turbox/workspace/sourcecode \
"
else
VOL+=" \
-v /home/workspace/${USER}:/home/turbox/workspace/sourcecode2 \
"
fi
echo "sudo docker run --name ${container_name_base}_$1_${uid} -it -d $VOL --group-add $gid $repository:$1 /bin/bash"
sudo docker run --name ${container_name_base}_$1_${uid} -it -d $VOL --group-add $gid $repository:$1 /bin/bash
}
......
Supports Markdown
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