Skip to content

Commit

Permalink
Merge pull request space-ros#194 from space-ros/use-lfs-for-simulation
Browse files Browse the repository at this point in the history
Install git-lfs in space_robots image for cloning the simulation repo
  • Loading branch information
eholum authored Oct 1, 2024
2 parents f885e27 + 4871032 commit 588d5a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions space_robots/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ ENV GZ_VERSION fortress
# Disable prompting during package installation
ARG DEBIAN_FRONTEND=noninteractive

# Get rosinstall_generator
# Using Docker BuildKit cache mounts for /var/cache/apt and /var/lib/apt ensures that
# the cache won't make it into the built image but will be maintained between steps.
# Install base image dependencies
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
sudo apt-get update -y && sudo apt-get install -y python3-rosinstall-generator
--mount=type=cache,target=/var/lib/apt,sharing=locked \
sudo apt-get update -y && \
sudo apt-get install -y \
git-lfs \
python3-rosinstall-generator

# TODO(anyone): remove demo-pkgs.txt, no packages left after exclusions
# Generate repos file for demo dependencies, excluding packages from Space ROS core.
Expand Down

0 comments on commit 588d5a9

Please sign in to comment.