Sign inSign up

sptrakesh/nghttp2

By sptrakesh

•Updated 5 days ago

Alpine image with Nghttp2 and boost:asio statically linked.

Image
0

9.3K

sptrakesh/nghttp2 repository overview

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 <[email protected]>

WORKDIR /opt
COPY --from=build /opt/local local

Tag summary

Content type

Image

Digest

sha256:4402f0fd8…

Size

235.5 MB

Last updated

5 days ago

docker pull sptrakesh/nghttp2