fix dynamic tls patch (offset) and copy fixed patch to repository

This commit is contained in:
2018-09-07 14:47:44 +02:00
parent d38e918626
commit b45c72bbc2
2 changed files with 253 additions and 1 deletions

View File

@ -83,7 +83,7 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
&& if [ "${FINGERPRINT}" != "${GPG_NGINX}" ]; then echo "Warning! Wrong GPG fingerprint!" && exit 1; fi \
&& echo "All seems good, now unpacking ${NGINX_TARBALL}..." \
&& tar xzf ${NGINX_TARBALL} && cd nginx-${NGINX_VERSION} \
&& wget -q https://raw.githubusercontent.com/cujanovic/nginx-dynamic-tls-records-patch/master/nginx__dynamic_tls_records_1.13.0%2B.patch -O dynamic_records.patch \
&& wget -q https://raw.githubusercontent.com/hoellen/dockerfiles/fix-dynamic-tls/boring-nginx/dynamic_records.patch -O dynamic_records.patch \
&& patch -p1 < dynamic_records.patch \
&& ./configure \
--prefix=/etc/nginx \