Skip to content

Commit 0fe8f6e

Browse files
author
dyzheng
committed
Fix: update dockerfile to install LTS version
1 parent 09543b5 commit 0fe8f6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile.cuda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN cd /tmp && \
2626

2727
ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/develop /dev/null
2828

29-
RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
29+
RUN git clone https://github.com/deepmodeling/abacus-develop.git -b LTS --depth 1 && \
3030
cd abacus-develop && \
3131
cmake -B build -DUSE_CUDA=ON -DENABLE_RAPIDJSON=ON && \
3232
cmake --build build -j`nproc` && \

Dockerfile.gnu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/deve
3232
# This will fetch the latest commit info, and store in docker building cache.
3333
# If there are newer commits, docker build will ignore the cache and build latest codes.
3434

35-
RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
35+
RUN git clone https://github.com/deepmodeling/abacus-develop.git -b LTS --depth 1 && \
3636
cd abacus-develop && \
3737
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_RAPIDJSON=ON && \
3838
cmake --build build -j`nproc` && \

Dockerfile.intel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ENV CMAKE_PREFIX_PATH=/opt/libtorch/share/cmake
5656
ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/develop /dev/null
5757

5858
RUN source /opt/intel/oneapi/setvars.sh && \
59-
git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
59+
git clone https://github.com/deepmodeling/abacus-develop.git -b LTS --depth 1 && \
6060
cd abacus-develop && \
6161
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_RAPIDJSON=ON && \
6262
cmake --build build -j`nproc` && \

0 commit comments

Comments
 (0)