Created
March 14, 2018 17:00
-
-
Save flixr/77e36cfac037700080efd937148b0f7f to your computer and use it in GitHub Desktop.
Dockerfile to reproduce https://github.com/ros/ros_comm/issues/1343
This file contains hidden or 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
# 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