diff --git a/projects/nghttp2/Dockerfile b/projects/nghttp2/Dockerfile index c4c36e725..d64dbc64f 100644 --- a/projects/nghttp2/Dockerfile +++ b/projects/nghttp2/Dockerfile @@ -20,11 +20,8 @@ RUN apt-get update && apt-get install -y \ autoconf \ automake \ libtool \ - pkg-config \ - libcunit1 \ - libcunit1-doc \ - libcunit1-dev + pkg-config -RUN git clone --depth 1 https://github.com/nghttp2/nghttp2.git +RUN git clone --recursive --shallow-submodules --depth 1 https://github.com/nghttp2/nghttp2.git WORKDIR nghttp2 COPY build.sh *.options $SRC/ diff --git a/projects/nghttp2/build.sh b/projects/nghttp2/build.sh index d8b839c0f..5260183d7 100755 --- a/projects/nghttp2/build.sh +++ b/projects/nghttp2/build.sh @@ -15,10 +15,9 @@ # ################################################################################ -git submodule update --init --depth 1 mkdir build cd build -cmake -DENABLE_LIB_ONLY=ON -DENABLE_STATIC_LIB=ON -DHAVE_CUNIT=ON ../ +cmake -DENABLE_LIB_ONLY=ON -DBUILD_STATIC_LIBS=ON ../ make make check