mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
reverse: update to nginx mainline 1.11.0
This commit is contained in:
parent
a0c54ec1cf
commit
ca4e601ed4
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:3.3
|
FROM alpine:3.3
|
||||||
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
|
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
|
||||||
|
|
||||||
ARG NGINX_VERSION=1.10.0
|
ARG NGINX_VERSION=1.11.0
|
||||||
ARG LIBRESSL_VERSION=2.3.4
|
ARG LIBRESSL_VERSION=2.3.4
|
||||||
ARG SIGNATURE=secret
|
ARG SIGNATURE=secret
|
||||||
ARG BUILD_CORES
|
ARG BUILD_CORES
|
||||||
@ -74,8 +74,6 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
|
|||||||
&& sed -i -e "s/\"Server: nginx\" CRLF/\"Server: ${SIGNATURE}\" CRLF/g" \
|
&& sed -i -e "s/\"Server: nginx\" CRLF/\"Server: ${SIGNATURE}\" CRLF/g" \
|
||||||
-e "s/\"Server: \" NGINX_VER CRLF/\"Server: ${SIGNATURE}\" NGINX_VER CRLF/g" \
|
-e "s/\"Server: \" NGINX_VER CRLF/\"Server: ${SIGNATURE}\" NGINX_VER CRLF/g" \
|
||||||
src/http/ngx_http_header_filter_module.c \
|
src/http/ngx_http_header_filter_module.c \
|
||||||
&& wget https://trac.nginx.org/nginx/raw-attachment/ticket/959/preread_buffer.patch -P /tmp \
|
|
||||||
&& cd src/http/v2 && patch < /tmp/preread_buffer.patch && cd ../../.. \
|
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
--with-http_ssl_module \
|
--with-http_ssl_module \
|
||||||
--with-http_v2_module \
|
--with-http_v2_module \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user