diff --git a/Dockerfile b/Dockerfile index c272b22..3b05377 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,17 @@ COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /models / COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /worlds /usr/share/gazebo-11/worlds/ COPY --link --from=git.spirirobotics.com/spiri/gazebo-resources:latest /plugins /usr/lib/x86_64-linux-gnu/gazebo-11/plugins +RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' +RUN sh -c 'curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -' + +RUN apt-get clean + RUN apt-get update && apt-get upgrade --yes RUN apt-get install --yes gz-garden +RUN apt-get install --yes ros-noetic-desktop + +#Install ROS WORKDIR /opt/spiri-sdk