Skip to content
Snippets Groups Projects
Commit fdfb0079 authored by Tim Kluge's avatar Tim Kluge
Browse files

Add swrast mesa package to dockerfile, X11 dri setting for Mac OS setup

parent 0cd71d28
No related branches found
No related tags found
No related merge requests found
Pipeline #6610 passed
...@@ -18,7 +18,8 @@ RUN useradd -m $USERNAME && \ ...@@ -18,7 +18,8 @@ RUN useradd -m $USERNAME && \
groupmod --gid $gid $USERNAME groupmod --gid $gid $USERNAME
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python-catkin-tools bash python-catkin-tools bash \
mesa-utils libgl1-mesa-glx
WORKDIR /home/$USERNAME WORKDIR /home/$USERNAME
COPY src /home/$USERNAME/src COPY src /home/$USERNAME/src
RUN rosdep install --from-paths . -r -y RUN rosdep install --from-paths . -r -y
......
...@@ -4,8 +4,12 @@ docker build . -t ceti-panda-gazebo-workspace ...@@ -4,8 +4,12 @@ docker build . -t ceti-panda-gazebo-workspace
XSOCK=/tmp/.X11-unix XSOCK=/tmp/.X11-unix
/usr/X11/bin/xhost + 127.0.0.1
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
docker run -it \ docker run -it \
--volume=$XSOCK:$XSOCK:rw \ --volume=$XSOCK:$XSOCK:rw \
--env="LIBGL_ALWAYS_INDIRECT=1" \
--env="DISPLAY=host.docker.internal:0" \ --env="DISPLAY=host.docker.internal:0" \
--user="ros" \ --user="ros" \
ceti-panda-gazebo-workspace \ ceti-panda-gazebo-workspace \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment