Skip to content

Commit

Permalink
downloading models during image build
Browse files Browse the repository at this point in the history
  • Loading branch information
M1chaelM committed Jun 26, 2023
1 parent 62e313f commit c29162c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vrx_server/vrx-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ RUN /bin/sh -c 'echo ". /opt/ros/${ROSDIST}/setup.bash" >> ~/.bashrc' \
&& /bin/sh -c 'echo ". ~/vrx_ws/install/setup.sh" >> ~/.bashrc'
## END OF SECTION BASED ON vrx/docker/Dockerfile

# Cache fuel resources
RUN /bin/bash -c 'gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/sydney_regatta \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/post \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/ground_station \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/antenna \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_marker_buoy_red \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_marker_buoy_black \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_marker_buoy_green \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_marker_buoy_white \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_round_buoy_orange \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/mb_round_buoy_black \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/platypus \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/crocodile \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/turtle \
&& gz fuel download -u https://fuel.gazebosim.org/1.0/openrobotics/models/wam-v'

# Expose port used to communiate with gzserver
EXPOSE 11345

Expand Down

0 comments on commit c29162c

Please sign in to comment.