Created
October 23, 2020 07:21
-
-
Save pkage/e56ed2dfe8394c81f209adef38302636 to your computer and use it in GitHub Desktop.
Dockerfile for ROS over noVNC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM dorowu/ubuntu-desktop-lxde-vnc:bionic-lxqt | |
RUN \ | |
apt-get update && \ | |
apt-get install -y \ | |
dirmngr \ | |
python3-pip && \ | |
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ | |
apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ | |
apt-get update && \ | |
apt-get install -y \ | |
ros-melodic-desktop-full && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN \ | |
echo "source /opt/ros/melodic/setup.bash" >> /root/.bashrc && \ | |
echo "source /root/catkins_ws/devel/setup.bash" >> /root/.bashrc && \ | |
rosdep init && \ | |
rosdep update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment