diff --git a/script/tst_noetic b/script/tst_noetic new file mode 100755 index 0000000000000000000000000000000000000000..dcad5b64fff292ead334dc5db986e84ccbe36ee3 --- /dev/null +++ b/script/tst_noetic @@ -0,0 +1,18 @@ +#!/bin/bash + +tag=gitlab.liu.se:5000/lrs/waraps_docker_images/tst-minimal-noetic:latest + +if [ $1 = "pull" ]; then + docker pull $tag + exit 0 +fi + +exec docker run \ + --init \ + --network host \ + --security-opt apparmor:unconfined \ + --ulimit nofile=1024 \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e DISPLAY=unix${DISPLAY} \ + -e ROS_HOSTNAME=localhost \ + --rm -it ${tag} "$@"