Skip to content
Snippets Groups Projects
Commit aac67757 authored by Tommy Persson's avatar Tommy Persson
Browse files

Work on swarm dev env

parent 71671d4c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [[ $(lsb_release -rs) == "18.04" ]]; then
docker run \
--ulimit nofile=1024 \
--ipc=host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /tmp:/exttmp \
-e DISPLAY=unix${DISPLAY}\
-e ROS_HOSTNAME=localhost \
--rm -it --name devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-melodic:devel "$@"
elif [[ $(lsb_release -rs) == "20.04" ]]; then
docker run \
--ulimit nofile=1024 \
--ipc=host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /tmp:/exttmp \
-e DISPLAY=unix${DISPLAY}\
-e ROS_HOSTNAME=localhost \
--rm -it --name devenv gitlab.liu.se:5000/lrs/devenv_docker_images/lrs-noetic:devel "$@"
else
echo "Unsupported operating system"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment