From b42638c7cec717e2755c67234b59684a1e18f14e Mon Sep 17 00:00:00 2001 From: Carlos Rueda Date: Mon, 11 Sep 2023 17:39:24 -0700 Subject: [PATCH] only clone desired tag and with no history --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d2f313a..f1aa9c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,8 @@ RUN apt update && \ rm -rf /var/lib/apt/lists/* # Clone, build, and install LCM -RUN git clone https://github.com/lcm-proj/lcm.git && \ +RUN git clone --depth=1 --branch=v1.5.0 https://github.com/lcm-proj/lcm.git && \ cd lcm && \ - git checkout v1.5.0 && \ mkdir build && \ cd build && \ cmake \