Merge pull request #14 from raeesiqbal/patch-1

Clone with only last commit of git repos in BoringNginx
This commit is contained in:
Wonderfall 2016-06-30 12:50:49 +02:00 committed by GitHub
commit ab7b7e40e4

View File

@ -36,12 +36,12 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
openssl \ openssl \
bind-tools \ bind-tools \
tini@commuedge \ tini@commuedge \
&& cd /tmp && git clone https://github.com/bagder/libbrotli && cd libbrotli \ && cd /tmp && git clone https://github.com/bagder/libbrotli --depth=1 && cd libbrotli \
&& ./autogen.sh && ./configure && make -j ${NB_CORES} && make install \ && ./autogen.sh && ./configure && make -j ${NB_CORES} && make install \
&& cd /tmp \ && cd /tmp \
&& git clone https://github.com/google/ngx_brotli \ && git clone https://github.com/google/ngx_brotli --depth=1 \
&& git clone https://github.com/openresty/headers-more-nginx-module \ && git clone https://github.com/openresty/headers-more-nginx-module --depth=1 \
&& git clone https://boringssl.googlesource.com/boringssl \ && git clone https://boringssl.googlesource.com/boringssl --depth=1 \
&& cd boringssl \ && cd boringssl \
&& mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. \ && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make -j ${NB_CORES} && cd .. \ && make -j ${NB_CORES} && cd .. \