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"]