diff --git a/boring-nginx/Dockerfile b/boring-nginx/Dockerfile index 1e61043..018edc2 100644 --- a/boring-nginx/Dockerfile +++ b/boring-nginx/Dockerfile @@ -63,7 +63,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a && ./configure \ --prefix=/etc/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-http_ssl_module \ --with-http_v2_module \ diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 6acb2f4..7c185f1 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -71,7 +71,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a && ./configure \ --prefix=/etc/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-openssl=/tmp/libressl-${LIBRESSL_VERSION} \ --with-http_ssl_module \