Skip to content

Instantly share code, notes, and snippets.

@tcnksm
Last active August 29, 2015 14:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcnksm/9b3ef0cf4b58e5ebb723 to your computer and use it in GitHub Desktop.
Save tcnksm/9b3ef0cf4b58e5ebb723 to your computer and use it in GitHub Desktop.
Dockerfile for nghttp2
FROM buildpack-deps
RUN git clone https://github.com/tatsuhiro-t/nghttp2 \
&& cd nghttp2 \
&& autoreconf -i \
&& automake \
&& autoconf \
&& ./configure \
&& make
WORKDIR /nghttp2/src
ENTRYPOINT ["./nghttpd","--no-tls"]

Build it:

$ docker build -t nghttp2 .

Run it:

$ docker run --rm -it -p <port>:<port> nghttp2 <port>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment