From 7f9e9cbfdccbed2313c5b9af8cbc5cefc86e6a2c Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommmy.persson@liu.se>
Date: Mon, 7 Sep 2020 16:21:33 +0200
Subject: [PATCH] Fix of install

---
 script/tst_noetic | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100755 script/tst_noetic

diff --git a/script/tst_noetic b/script/tst_noetic
new file mode 100755
index 0000000..dcad5b6
--- /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} "$@"
-- 
GitLab