Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM ros:kinetic
- MAINTAINER preed@swri.org
- # Install prerequisites
- RUN apt-get update && \
- apt-get install -y \
- build-essential \
- git \
- python-catkin-tools \
- && rm -rf /var/lib/apt/lists/*
- # Configure workspace
- RUN mkdir -p /workspace/src
- RUN cd /workspace && \
- catkin init && \
- catkin config -e /opt/ros/kinetic && \
- catkin config --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
- catkin config -i /opt/rtk/kinetic && \
- catkin config --install
- # Use rosdep to install workspace dependencies
- RUN cd /workspace/src && \
- git clone https://github.com/swri-robotics/marti_common && \
- apt-get update && \
- rosdep update && \
- rosdep install . -y --from-paths -i && \
- rm -rf /var/lib/apt/lists/*
- # Build & install workspace
- RUN cd /workspace/src && \
- . /opt/ros/kinetic/setup.sh && \
- catkin build swri_geometry_util
- CMD ["/bin/bash"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement