Skip to content

Commit

Permalink
nghttp2 1.52.0 (#1)
Browse files Browse the repository at this point in the history
* nghttp2 1.52.0

* use Dockerfile in v1.52.0

* Update Dockerfile
  • Loading branch information
nwtgck authored Apr 9, 2023
1 parent b9bacec commit 8e30367
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa
# Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors
# Licensed under the MIT license.
# (base: https://github.com/nghttp2/nghttp2/blob/08676d23f964ac9aa1f9317ad30f0b7d78eb5a5a/docker/Dockerfile)
# (base: https://github.com/nghttp2/nghttp2/blob/v1.52.0/docker/Dockerfile)

FROM debian:11 as build

ENV NGHTTP2_VERSION=v1.49.0
ENV NGHTTP2_VERSION=1.52.0

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand All @@ -15,15 +15,15 @@ RUN apt-get update && \
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison \
libelf-dev

RUN git clone --depth 1 -b OpenSSL_1_1_1q+quic https://github.com/quictls/openssl && \
RUN git clone --depth 1 -b OpenSSL_1_1_1t+quic https://github.com/quictls/openssl && \
cd openssl && \
./config --openssldir=/etc/ssl && \
make -j$(nproc) && \
make install_sw && \
cd .. && \
rm -rf openssl

RUN git clone --depth 1 -b v0.7.0 https://github.com/ngtcp2/nghttp3 && \
RUN git clone --depth 1 -b v0.8.0 https://github.com/ngtcp2/nghttp3 && \
cd nghttp3 && \
autoreconf -i && \
./configure --enable-lib-only && \
Expand All @@ -32,7 +32,7 @@ RUN git clone --depth 1 -b v0.7.0 https://github.com/ngtcp2/nghttp3 && \
cd .. && \
rm -rf nghttp3

RUN git clone --depth 1 -b v0.8.0 https://github.com/ngtcp2/ngtcp2 && \
RUN git clone --depth 1 -b v0.13.1 https://github.com/ngtcp2/ngtcp2 && \
cd ngtcp2 && \
autoreconf -i && \
./configure --enable-lib-only \
Expand All @@ -44,18 +44,18 @@ RUN git clone --depth 1 -b v0.8.0 https://github.com/ngtcp2/ngtcp2 && \
cd .. && \
rm -rf ngtcp2

RUN git clone --depth 1 -b v0.8.1 https://github.com/libbpf/libbpf && \
RUN git clone --depth 1 -b v1.1.0 https://github.com/libbpf/libbpf && \
cd libbpf && \
PREFIX=/usr/local make -C src install && \
cd .. && \
rm -rf libbpf

RUN git clone --depth 1 -b $NGHTTP2_VERSION https://github.com/nghttp2/nghttp2.git && \
RUN git clone --depth 1 -b v${NGHTTP2_VERSION} https://github.com/nghttp2/nghttp2.git && \
cd nghttp2 && \
git submodule update --init && \
autoreconf -i && \
./configure --disable-examples --disable-hpack-tools \
--disable-python-bindings --with-mruby --with-neverbleed \
--with-mruby --with-neverbleed \
--enable-http3 --with-libbpf \
CC=clang CXX=clang++ \
LIBTOOL_LDFLAGS="-static-libtool-libs" \
Expand Down

0 comments on commit 8e30367

Please sign in to comment.