Set git clone depth to 1

had to be sure 0 wasn't really an option
This commit is contained in:
Phil Regier 2023-11-03 19:04:41 +01:00
parent d1f95a4a91
commit 9bfb297f67

View File

@ -2,6 +2,6 @@ FROM opensuse/leap
RUN sed -i '/onlyReq/csolver.onlyRequires = true' /etc/zypp/zypp.conf
RUN zypper install -y git
RUN git clone --depth 0 https://github.com/flux-framework/flux-core.git; \
RUN git clone --depth 1 https://github.com/flux-framework/flux-core.git; \
cd flux-core; \
ls src