mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
Fix ngx_brotli compilation error (#57)
* Fix ngx_brotli compilation error Due to the new Brotli API some ngx_brotli functions are deprecated : https://github.com/google/ngx_brotli/issues/39#issuecomment-254093378 * Update Dockerfile
This commit is contained in:
parent
49acf377df
commit
07bec4f399
@ -63,7 +63,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
|
|||||||
&& ./configure \
|
&& ./configure \
|
||||||
--prefix=/etc/nginx \
|
--prefix=/etc/nginx \
|
||||||
--sbin-path=/usr/sbin/nginx \
|
--sbin-path=/usr/sbin/nginx \
|
||||||
--with-cc-opt="-O3 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I ../boringssl/.openssl/include/" \
|
--with-cc-opt="-O3 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated-declarations -I ../boringssl/.openssl/include/" \
|
||||||
--with-ld-opt="-Wl,-Bsymbolic-functions -Wl,-z,relro -L ../boringssl/.openssl/lib" \
|
--with-ld-opt="-Wl,-Bsymbolic-functions -Wl,-z,relro -L ../boringssl/.openssl/lib" \
|
||||||
--with-http_ssl_module \
|
--with-http_ssl_module \
|
||||||
--with-http_v2_module \
|
--with-http_v2_module \
|
||||||
|
@ -71,7 +71,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
|
|||||||
&& ./configure \
|
&& ./configure \
|
||||||
--prefix=/etc/nginx \
|
--prefix=/etc/nginx \
|
||||||
--sbin-path=/usr/sbin/nginx \
|
--sbin-path=/usr/sbin/nginx \
|
||||||
--with-cc-opt='-O3 -fPIE -fstack-protector-strong -Wformat -Werror=format-security' \
|
--with-cc-opt='-O3 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wno-deprecated-declarations' \
|
||||||
--with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' \
|
--with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' \
|
||||||
--with-openssl=/tmp/libressl-${LIBRESSL_VERSION} \
|
--with-openssl=/tmp/libressl-${LIBRESSL_VERSION} \
|
||||||
--with-http_ssl_module \
|
--with-http_ssl_module \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user