diff --git a/src/Dockerfile.jinja b/src/Dockerfile.jinja index f0af761..8f4202b 100644 --- a/src/Dockerfile.jinja +++ b/src/Dockerfile.jinja @@ -10,16 +10,16 @@ RUN apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-g WORKDIR /root/catkin_ws/src -{% if SOURCE.startwith("git+") %} +{% if SOURCE.startswith("git+") %} RUN git clone https://github.com/ros-drivers/video_stream_opencv.git {% else %} -COPY {{SOURCE}} ./ +COPY {{SOURCE}} . {% endif %} WORKDIR /root/catkin_ws RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep init" RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep update" -RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep install --from-paths src -y" +RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep instll --from-paths src -y" RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make" RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make install"