1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-11 06:39:16 +00:00

boring-nginx: change OPENSSL_VERSION_TEXT to be more explicit

This commit is contained in:
Wonderfall 2016-05-29 14:59:51 +02:00
parent 97396f2e0d
commit f7ecf4d593

@ -43,10 +43,10 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
&& make -j ${NB_CORES} && make install \
&& mkdir /tmp/ngx_brotli && cd /tmp/ngx_brotli \
&& wget -qO- https://github.com/google/ngx_brotli/archive/master.tar.gz | tar xz --strip 1 \
&& cd /tmp && git clone https://boringssl.googlesource.com/boringssl \
&& cd boringssl \
&& cd /tmp && git clone https://boringssl.googlesource.com/boringssl && cd boringssl \
&& mkdir build && cd build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make -j ${NB_CORES} && cd .. \
&& sed -i 's/OpenSSL 1.0.2 (compatible; BoringSSL)/BoringSSL/g' include/openssl/crypto.h \
&& mkdir -p .openssl/lib/ && cd .openssl && ln -s ../include && cd .. \
&& cp build/crypto/libcrypto.a build/ssl/libssl.a .openssl/lib && cd /tmp \
&& NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz" \