File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ ARG DEBIAN_FRONTEND=noninteractive
4848# the cache won't make it into the built image but will be maintained between steps.
4949RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
5050 --mount=type=cache,target=/var/lib/apt,sharing=locked \
51- sudo apt-get update -y && sudo apt-get install -y python3-rosinstall-generator
51+ sudo apt-get update -y && sudo apt-get install -y python3-rosinstall-generator libgl1-mesa-glx libgl1-mesa-dri
5252
5353# TODO(anyone): remove demo-pkgs.txt, no packages left after exclusions
5454# Generate repos file for demo dependencies, excluding packages from Space ROS core.
@@ -83,7 +83,7 @@ RUN cd mongo-cxx-driver-r3.6.7/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCM
8383# Get the source for the dependencies
8484# RUN vcs import src < /tmp/demo_generated_pkgs.repos
8585COPY --chown=${USERNAME}:${USERNAME} demo_manual_pkgs.repos /tmp/
86- RUN vcs import src < /tmp/demo_manual_pkgs.repos && /bin/bash -c 'source "${SPACEROS_DIR}/install/setup.bash"'
86+ RUN vcs import src < /tmp/demo_manual_pkgs.repos && /bin/bash -c 'source "${SPACEROS_DIR}/install/setup.bash"'
8787
8888RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
8989 --mount=type=cache,target=/var/lib/apt,sharing=locked \
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ CONTAINER_NAME="$(tr '/' '_' <<< "$IMG_NAME")"
1313
1414# Start the container
1515docker run --rm -it --name $CONTAINER_NAME --network host \
16+ --volume=/tmp/.X11-unix:/tmp/.X11-unix\
17+ --device=/dev/dri:/dev/dri \
1618 -e DISPLAY -e TERM -e QT_X11_NO_MITSHM=1 $IMG_NAME
You can’t perform that action at this time.
0 commit comments