Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. FROM ros:kinetic
  2.  
  3. MAINTAINER preed@swri.org
  4.  
  5. # Install prerequisites
  6. RUN apt-get update && \
  7. apt-get install -y \
  8. build-essential \
  9. git \
  10. python-catkin-tools \
  11. && rm -rf /var/lib/apt/lists/*
  12.  
  13. # Configure workspace
  14. RUN mkdir -p /workspace/src
  15. RUN cd /workspace && \
  16. catkin init && \
  17. catkin config -e /opt/ros/kinetic && \
  18. catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
  19. catkin config -i /opt/rtk/kinetic && \
  20. catkin config --install
  21.  
  22. # Use rosdep to install workspace dependencies
  23. RUN cd /workspace/src && \
  24. git clone https://github.com/swri-robotics/marti_common && \
  25. apt-get update && \
  26. rosdep update && \
  27. rosdep install . -y --from-paths -i && \
  28. rm -rf /var/lib/apt/lists/*
  29.  
  30. # Build & install workspace
  31. RUN cd /workspace/src && \
  32. . /opt/ros/kinetic/setup.sh && \
  33. catkin build swri_geometry_util
  34.  
  35. CMD ["/bin/bash"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement