Skip to content

Instantly share code, notes, and snippets.

@pkage
Created October 23, 2020 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkage/e56ed2dfe8394c81f209adef38302636 to your computer and use it in GitHub Desktop.
Save pkage/e56ed2dfe8394c81f209adef38302636 to your computer and use it in GitHub Desktop.
Dockerfile for ROS over noVNC
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