Fix copy source

This commit is contained in:
Alex Davies 2024-09-13 12:49:16 -03:00
parent dbb498c78a
commit 4e43b760e7
1 changed files with 2 additions and 1 deletions

View File

@ -10,9 +10,10 @@ RUN apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-g
WORKDIR /root/catkin_ws/src
#Copy source into the docker image
{% if SOURCE.startswith("git+") %}
RUN git clone {{SOURCE}}
{% elif source %}
{% elif SOURCE %}
COPY {{SOURCE}} .
{% endif %}