From f7ecf4d59384b651e95e1276f9290ed260ba849a Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Sun, 29 May 2016 14:59:51 +0200 Subject: [PATCH] boring-nginx: change OPENSSL_VERSION_TEXT to be more explicit --- boring-nginx/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boring-nginx/Dockerfile b/boring-nginx/Dockerfile index 30ce289..0a7562a 100644 --- a/boring-nginx/Dockerfile +++ b/boring-nginx/Dockerfile @@ -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" \