Skip to content

Commit

Permalink
add gpu setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hrjp committed Oct 10, 2024
1 parent 1b3694b commit 401d8f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/ros_noetic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN mkdir -p /home/catkin_ws/src && \
/bin/bash -c "source /opt/ros/$ROS_DISTRO/setup.bash; catkin build" && \
echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> /root/.bashrc && \
echo "source /home/catkin_ws/devel/setup.bash" >> /root/.bashrc && \
echo "export __NV_PRIME_RENDER_OFFLOAD=1" >> /root/.bashrc && \
echo "export __GLX_VENDOR_LIBRARY_NAME=nvidia" >> /root/.bashrc && \
apt update && \
apt install -y python3-vcstool && \
apt clean && \
Expand Down

0 comments on commit 401d8f4

Please sign in to comment.