From 48710326b0ed000613ce3bc500b26a5d9c38c761 Mon Sep 17 00:00:00 2001 From: Erik Holum Date: Sun, 29 Sep 2024 19:24:33 -0400 Subject: [PATCH] Install git-lfs in space_robots image for cloning the simulation repo (issue #193) --- space_robots/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/space_robots/Dockerfile b/space_robots/Dockerfile index 561802c..4f9077d 100644 --- a/space_robots/Dockerfile +++ b/space_robots/Dockerfile @@ -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.