Fix copy source
This commit is contained in:
parent
dbb498c78a
commit
4e43b760e7
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue