Skip to content

Commit

Permalink
Merge pull request #313 from zlabjp/shallow-submodules
Browse files Browse the repository at this point in the history
Use shallow-submodules
  • Loading branch information
tatsuhiro-t authored Mar 4, 2024
2 parents 3a525aa + a918583 commit 5af3933
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN git clone --depth 1 -b OpenSSL_1_1_1w+quic https://github.com/quictls/openss
cd .. && \
rm -rf openssl

RUN git clone --recursive --depth 1 -b v1.2.0 https://github.com/ngtcp2/nghttp3 && \
RUN git clone --recursive --shallow-submodules --depth 1 -b v1.2.0 https://github.com/ngtcp2/nghttp3 && \
cd nghttp3 && \
autoreconf -i && \
./configure --enable-lib-only && \
Expand All @@ -44,7 +44,7 @@ RUN git clone --recursive --depth 1 -b v1.2.0 https://github.com/ngtcp2/nghttp3
cd .. && \
rm -rf nghttp3

RUN git clone --recursive --depth 1 -b v1.3.0 https://github.com/ngtcp2/ngtcp2 && \
RUN git clone --recursive --shallow-submodules --depth 1 -b v1.3.0 https://github.com/ngtcp2/ngtcp2 && \
cd ngtcp2 && \
autoreconf -i && \
./configure --enable-lib-only \
Expand All @@ -62,7 +62,7 @@ RUN git clone --depth 1 -b v1.3.0 https://github.com/libbpf/libbpf && \
cd .. && \
rm -rf libbpf

RUN git clone --recursive --depth 1 -b v1.60.0 https://github.com/nghttp2/nghttp2.git && \
RUN git clone --recursive --shallow-submodules --depth 1 -b v1.60.0 https://github.com/nghttp2/nghttp2.git && \
cd nghttp2 && \
patch -p1 < /extra-mrbgem.patch && \
autoreconf -i && \
Expand Down

0 comments on commit 5af3933

Please sign in to comment.