Skip to content

Commit

Permalink
docker: Checkout with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Mar 2, 2024
1 parent 7332afb commit 1d1dd20
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,25 @@ RUN apt-get update && \
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison \
libelf-dev libbrotli-dev

RUN git clone --depth 1 -b v1.21.0 https://github.com/aws/aws-lc && \
RUN git clone --recursive --depth 1 -b v1.21.0 https://github.com/aws/aws-lc && \
cd aws-lc && \
cmake -B build -DDISABLE_GO=ON && \
make -j$(nproc) -C build && \
cmake --install build && \
cd .. && \
rm -rf aws-lc

RUN git clone --depth 1 -b v1.2.0 https://github.com/ngtcp2/nghttp3 && \
RUN git clone --recursive --depth 1 -b v1.2.0 https://github.com/ngtcp2/nghttp3 && \
cd nghttp3 && \
git submodule update --init --depth 1 && \
autoreconf -i && \
./configure --enable-lib-only && \
make -j$(nproc) && \
make install-strip && \
cd .. && \
rm -rf nghttp3

RUN git clone --depth 1 -b v1.3.0 https://github.com/ngtcp2/ngtcp2 && \
RUN git clone --recursive --depth 1 -b v1.3.0 https://github.com/ngtcp2/ngtcp2 && \
cd ngtcp2 && \
git submodule update --init --depth 1 && \
autoreconf -i && \
./configure --enable-lib-only --with-boringssl \
LIBTOOL_LDFLAGS="-static-libtool-libs" \
Expand All @@ -46,9 +44,8 @@ RUN git clone --depth 1 -b v1.3.0 https://github.com/libbpf/libbpf && \
cd .. && \
rm -rf libbpf

RUN git clone --depth 1 -b $NGHTTP2_BRANCH https://github.com/nghttp2/nghttp2 && \
RUN git clone --recursive --depth 1 -b $NGHTTP2_BRANCH https://github.com/nghttp2/nghttp2 && \
cd nghttp2 && \
git submodule update --init --depth 1 && \
autoreconf -i && \
./configure --disable-examples --disable-hpack-tools \
--with-mruby \
Expand Down

0 comments on commit 1d1dd20

Please sign in to comment.