Skip to content

Commit 28f0073

Browse files
committed
fetch less
1 parent 04b7b04 commit 28f0073

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

clingo/Dockerfile.manylinux2014

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ ENV PATH="/root/spack/bin/:$PATH" \
1515
PYTHONUNBUFFERED=1
1616

1717
# Clone the repo and install Spack
18-
RUN git clone https://github.com/spack/spack.git && \
19-
git -C spack checkout -b docker-reference 734c5db2121b01c373eed6538e452f18887e9e44
18+
RUN mkdir spack && \
19+
cd spack && \
20+
git init . && \
21+
git fetch --depth=1 https://github.com/spack/spack.git 734c5db2121b01c373eed6538e452f18887e9e44:docker-reference && \
22+
git checkout docker-reference
2023

2124
# Set externals, locate compilers
2225
RUN spack external find -j 1 --not-buildable bison cmake

0 commit comments

Comments
 (0)