sptrakesh/nghttp2
Alpine image with Nghttp2 and boost:asio statically linked.
3.7K
Alpine image with nghttp2 framework.
Note: The gcc
tag is built off the latest gcc base image.
FROM sptrakesh/boost as build
ENV NGHTTP_VERSION=1.40.0
WORKDIR /opt
RUN apk add --no-cache curl xz \
&& curl -O -L https://github.com/nghttp2/nghttp2/releases/download/v1.40.0/nghttp2-${NGHTTP_VERSION}.tar.xz \
&& tar xf nghttp2-${NGHTTP_VERSION}.tar.xz \
&& cd nghttp2-${NGHTTP_VERSION} \
&& ./configure --prefix=/opt/local --enable-asio-lib --enable-lib-only --enable-shared=no \
&& make -j8 \
&& make install
FROM sptrakesh/cppbase
MAINTAINER Rakesh Vidyadharan <rakesh@sptci.com>
WORKDIR /opt
COPY --from=build /opt/local local
docker pull sptrakesh/nghttp2