Last active
August 29, 2015 14:01
-
-
Save tsahara/7332972d057370d2e686 to your computer and use it in GitHub Desktop.
Dockerfile for nghttp2 (without ALPN)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
RUN apt-get update | |
RUN apt-get install -y autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libevent-dev libjansson-dev libjemalloc-dev | |
RUN apt-get install -y curl make gcc git g++ | |
WORKDIR /root | |
RUN curl -L https://github.com/tatsuhiro-t/nghttp2/releases/download/v0.4.0/nghttp2-0.4.0.tar.bz2 | tar jxf - | |
WORKDIR /root/nghttp2-0.4.0 | |
RUN autoreconf -i | |
RUN automake | |
RUN autoconf | |
RUN ./configure | |
RUN make | |
EXPOSE 80 | |
EXPOSE 443 | |
CMD ["./src/nghttpd", "-v", "80", "--no-tls"] |
Author
tsahara
commented
May 23, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment