|
|
@@ -12,13 +12,17 @@ RUN apt-get update && \
|
|
|
apt-get upgrade -y && \
|
|
|
apt-get install -y git-core build-essential wget
|
|
|
|
|
|
-RUN apt-get install -y --no-install-recommends autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libevent-dev
|
|
|
+RUN apt-get install -y --no-install-recommends \
|
|
|
+ autotools-dev libtool pkg-config zlib1g-dev \
|
|
|
+ libcunit1-dev libssl-dev libxml2-dev libevent-dev \
|
|
|
+ automake autoconf
|
|
|
|
|
|
+# Note: setting NGHTTP2_VER before the git clone, so an old git clone isn't cached:
|
|
|
+ENV NGHTTP2_VER af24f8394e43f4
|
|
|
RUN cd /root && git clone https://github.com/tatsuhiro-t/nghttp2.git
|
|
|
|
|
|
-RUN apt-get install -y --no-install-recommends automake autoconf
|
|
|
-
|
|
|
WORKDIR /root/nghttp2
|
|
|
+RUN git reset --hard $NGHTTP2_VER
|
|
|
RUN autoreconf -i
|
|
|
RUN automake
|
|
|
RUN autoconf
|
|
|
@@ -27,11 +31,9 @@ RUN make
|
|
|
RUN make install
|
|
|
|
|
|
WORKDIR /root
|
|
|
-RUN wget http://curl.haxx.se/download/curl-7.38.0.tar.gz
|
|
|
-RUN tar -zxvf curl-7.38.0.tar.gz
|
|
|
-WORKDIR /root/curl-7.38.0
|
|
|
-ADD testdata/curl-http2-eof.patch /tmp/curl-http2-eof.patch
|
|
|
-RUN patch -p1 < /tmp/curl-http2-eof.patch
|
|
|
+RUN wget http://curl.haxx.se/download/curl-7.40.0.tar.gz
|
|
|
+RUN tar -zxvf curl-7.40.0.tar.gz
|
|
|
+WORKDIR /root/curl-7.40.0
|
|
|
RUN ./configure --with-ssl --with-nghttp2=/usr/local
|
|
|
RUN make
|
|
|
RUN make install
|