2019-08-01 13:52:16 +02:00
|
|
|
FROM k8s.gcr.io/debian-base-amd64:1.0.0
|
|
|
|
|
|
|
|
RUN /usr/local/bin/clean-install git g++ make binutils autoconf automake autotools-dev libtool pkg-config \
|
|
|
|
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison \
|
|
|
|
zlib1g libev4 libjemalloc1 libc-ares2 \
|
|
|
|
ca-certificates psmisc \
|
|
|
|
python && \
|
2019-11-04 14:41:36 +01:00
|
|
|
git clone --depth 1 -b openssl-quic-draft-23 https://github.com/tatsuhiro-t/openssl && \
|
2019-08-01 13:52:16 +02:00
|
|
|
cd openssl && ./config enable-tls1_3 --openssldir=/etc/ssl && make -j$(nproc) && make install_sw && cd .. && rm -rf openssl && \
|
|
|
|
git clone --depth 1 https://github.com/ngtcp2/nghttp3 && \
|
|
|
|
cd nghttp3 && autoreconf -i && \
|
|
|
|
./configure --enable-lib-only && \
|
|
|
|
make -j$(nproc) && make install-strip && cd .. && rm -rf nghttp3 && \
|
2019-11-04 14:41:36 +01:00
|
|
|
git clone --depth 1 -b master https://github.com/ngtcp2/ngtcp2 && \
|
2019-08-01 13:52:16 +02:00
|
|
|
cd ngtcp2 && autoreconf -i && \
|
|
|
|
./configure && \
|
|
|
|
make -j$(nproc) && make install-strip && cd .. && rm -rf ngtcp2 && \
|
|
|
|
git clone --depth 1 -b quic 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 && \
|
|
|
|
make -j$(nproc) install-strip && \
|
|
|
|
cd .. && \
|
|
|
|
rm -rf nghttp2 && \
|
|
|
|
strip /usr/local/lib/*.so.*.* /usr/local/lib/engines-*/*.so && \
|
|
|
|
rm -rf /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a /usr/local/lib/pkgconfig/*ssl.pc /usr/local/include/openssl/* && \
|
|
|
|
apt-get -y purge git g++ make binutils autoconf automake autotools-dev libtool pkg-config \
|
|
|
|
zlib1g-dev libev-dev libjemalloc-dev ruby-dev libc-ares-dev bison && \
|
|
|
|
apt-get -y autoremove --purge && \
|
|
|
|
rm -rf /var/log/*
|