Skip to content

Instantly share code, notes, and snippets.

@flixr
Created March 14, 2018 17:00
Show Gist options
  • Save flixr/77e36cfac037700080efd937148b0f7f to your computer and use it in GitHub Desktop.
Save flixr/77e36cfac037700080efd937148b0f7f to your computer and use it in GitHub Desktop.
# Test image for https://github.com/ros/ros_comm/issues/1343
FROM ros:kinetic-ros-base-xenial
RUN mkdir -p /catkin_ws/src && \
cd /catkin_ws/src && \
git clone https://github.com/ros/ros_comm.git -b kinetic-devel && \
git clone https://github.com/ros/roscpp_core.git -b kinetic-devel
RUN cd /catkin_ws && \
/ros_entrypoint.sh catkin_make_isolated
RUN echo '#!/bin/bash\n\
set -e\n\
source "/catkin_ws/devel_isolated/setup.bash"\n\
exec "$@"\n' > /devel_entrypoint.sh && chmod a+x /devel_entrypoint.sh
ENTRYPOINT ["/devel_entrypoint.sh"]
CMD ["roscore"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment