Skip to content

Commit

Permalink
only clone desired tag and with no history
Browse files Browse the repository at this point in the history
  • Loading branch information
carueda committed Sep 12, 2023
1 parent a741e85 commit b42638c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b42638c

Please sign in to comment.