Skip to content

Commit

Permalink
docker: pass $DISPLAY variable and enable X11 forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Schlodinski committed Aug 16, 2024
1 parent ad1d9e1 commit ed7282d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ docker run -it --rm -w "${SRC_DIR}" \
--env=PX4_UBSAN \
--env=TRAVIS_BRANCH \
--env=TRAVIS_BUILD_ID \
--env=DISPLAY \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--volume $HOME/.Xauthority:/home/root/.Xauthority \
--publish 14556:14556/udp \
--volume=${CCACHE_DIR}:${CCACHE_DIR}:rw \
--volume=${SRC_DIR}:${SRC_DIR}:rw \
Expand Down

0 comments on commit ed7282d

Please sign in to comment.