Skip to content

Commit

Permalink
Iteration
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Derbasov <[email protected]>
  • Loading branch information
ntfshard committed Dec 13, 2024
1 parent 433b6e0 commit 309f366
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 11 additions & 2 deletions docker/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ ARGS=("$@")
# This is necessary so Gazebo can create a context for OpenGL rendering
# (even headless).
XAUTH=/tmp/.docker.xauth
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
chmod 777 $XAUTH
if [ ! -f $XAUTH ]
then
xauth_list=$(xauth nlist $DISPLAY | sed -e 's/^..../ffff/')
if [ ! -z "$xauth_list" ]
then
echo $xauth_list | xauth -f $XAUTH nmerge -
else
touch $XAUTH
fi
chmod a+r $XAUTH
fi

docker run -it \
-e DISPLAY \
Expand Down
4 changes: 0 additions & 4 deletions docker/scripts/install_common_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,5 @@ sudo apt-get install --no-install-recommends -y \
clang-tidy \
python3-yaml

sudo apt-get install --no-install-recommends -y \
libbenchmark-dev \
libbenchmark1.8.3

sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*

0 comments on commit 309f366

Please sign in to comment.