Unverified Commit 8a27ae64 authored by Simon Thomas's avatar Simon Thomas
Browse files

Adding docker files

parent 6f62a519
FROM ros:kinetic-perception
#Workspace to use
RUN mkdir -p root/catkin_ws/src/
RUN /bin/bash -c 'cd /root/catkin_ws'
#Copy code
COPY . root/catkin_ws/src/robosense_simulator
RUN apt-get update && apt-get upgrade -y && apt-get install -y ros-kinetic-gazebo-ros
#Launch the compile
RUN /bin/bash -c ' source /opt/ros/kinetic/setup.bash \
&& cd root/catkin_ws\
&& catkin_make -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic install'
FROM ros:melodic-perception
#Workspace to use
RUN mkdir -p root/catkin_ws/src/
RUN /bin/bash -c 'cd /root/catkin_ws'
#Copy code
COPY . root/catkin_ws/src/robosense_simulator
RUN apt-get update && apt-get upgrade -y && apt-get install -y ros-melodic-gazebo-ros
#Launch the compile
RUN /bin/bash -c ' source /opt/ros/melodic/setup.bash \
&& cd root/catkin_ws\
&& catkin_make'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment