Skip to content

Commit

Permalink
Fix Gazebo Garden base image
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed Sep 16, 2022
1 parent 4f33f8a commit 2c9a5dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ RUN sudo /bin/sh -c 'echo "deb [arch=amd64,arm64] http://repo.ros2.org/ubuntu/ma
USER $USERNAME

# Check out Ignition source
ENV IGN_WS /home/$USERNAME/ign_ws
COPY docker/base/gz-garden.yaml ${IGN_WS}/gz-garden.yaml
RUN mkdir -p ${IGN_WS}/src && cd ${IGN_WS} \
&& vcs import src < gz-garden.yaml
ENV GZ_WS /home/$USERNAME/gz_ws
COPY docker/base/gz-garden.yaml ${GZ_WS}/gz-garden.yaml
RUN mkdir -p ${GZ_WS}/src && cd ${GZ_WS} && \
vcs import src < gz-garden.yaml && vcs pull src

USER root

Expand All @@ -76,5 +76,5 @@ RUN rm -rf /var/lib/apt/lists/* \

USER $USERNAME

RUN cd ${IGN_WS} \
RUN cd ${GZ_WS} \
&& colcon build --merge-install --cmake-args -DBUILD_TESTING=OFF

0 comments on commit 2c9a5dc

Please sign in to comment.