FROM ubuntu:jammy
RUN apt-get update RUN apt-get install build-essential cmake libpcre3 libpcre3-dev openssl libssl-dev zlib1g-dev git wget software-properties-common -y RUN add-apt-repository ppa:longsleep/golang-backports -y RUN apt-get update RUN apt-get install golang-go -y
RUN git clone --depth=1 https://github.com/google/boringssl.git
RUN cd boringssl && mkdir build && cd build && cmake .. && make && cd ../../
RUN wget https://nginx.org/download/nginx-1.25.2.tar.gz
RUN tar xf nginx-1.25.2.tar.gz
RUN cd nginx-1.25.2 && ./configure --prefix=/usr/local/nginx
--with-debug
--with-http_v3_module
--with-http_v2_module
--with-cc-opt="-I../boringssl/include" --with-ld-opt="-L../boringssl/build/ssl -L../boringssl/build/crypto" && make && make install
FROM ubuntu:jammy
COPY --from=0 /usr/local/nginx /usr/local/nginx
EXPOSE 80 443
CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]
Content type
Image
Digest
sha256:7ce0df86c…
Size
39 MB
Last updated
almost 3 years ago
docker pull postkarte/nginx-quic:alpine-v1.0