Skip to content

Commit 71c3c03

Browse files
committed
updated dockerfile to pull git lfs
1 parent c52d143 commit 71c3c03

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SHELL ["/bin/bash", "-c"]
1212
RUN apt-get update && \
1313
apt-get upgrade -y && \
1414
apt-get install -y wget make git gfortran libomp-18-dev libboost-all-dev clang-18 clang-tools-18 unzip && \
15-
apt-get install -y imagemagick vim && \
15+
apt-get install -y imagemagick vim git-lfs && \
1616
wget https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-linux-x86_64.sh && \
1717
chmod +x cmake-3.28.0-linux-x86_64.sh && \
1818
./cmake-3.28.0-linux-x86_64.sh --skip-license --prefix=/usr/local && \
@@ -58,6 +58,12 @@ RUN source ~/anaconda3/bin/activate && \
5858
# Copy the source code into the container
5959
COPY . .
6060

61+
# Run git-lfs pull to get large files
62+
RUN git lfs install && \
63+
git lfs pull && \
64+
git lfs fetch --all \
65+
&& git lfs checkout
66+
6167
# if we are on a windows host, we need to remove the CRLF characters from all the files
6268
#RUN find . -type f -exec sed -i 's/\r$//' {} +
6369
RUN if [ "$HOSTOS" = "windows" ]; then \

0 commit comments

Comments
 (0)