Skip to content

Commit

Permalink
fixed: optimization in the Dockerfile
Browse files Browse the repository at this point in the history
ammnt committed Apr 5, 2024
1 parent 8392d42 commit 1bde03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ RUN NB_CORES="${BUILD_CORES-$(getconf _NPROCESSORS_CONF)}" \
&& sed -i -e '1i pid /tmp/freenginx.pid;\n' /tmp/nginx/conf/nginx.conf \
&& addgroup -S freenginx && adduser -S freenginx -s /sbin/nologin -G freenginx --no-create-home \
&& hg clone https://hg.nginx.org/njs && (git clone https://boringssl.googlesource.com/boringssl /tmp/boringssl \
&& cd /tmp/boringssl && && git checkout --force --quiet e648990 \
&& cd /tmp/boringssl && git checkout --force --quiet e648990 \
&& (grep -qxF 'SET_TARGET_PROPERTIES(crypto PROPERTIES SOVERSION 1)' /tmp/boringssl/crypto/CMakeLists.txt || echo -e '\nSET_TARGET_PROPERTIES(crypto PROPERTIES SOVERSION 1)' >> /tmp/boringssl/crypto/CMakeLists.txt) \
&& (grep -qxF 'SET_TARGET_PROPERTIES(ssl PROPERTIES SOVERSION 1)' /tmp/boringssl/ssl/CMakeLists.txt || echo -e '\nSET_TARGET_PROPERTIES(ssl PROPERTIES SOVERSION 1)' >> /tmp/boringssl/ssl/CMakeLists.txt) \
&& mkdir -p /tmp/boringssl/build && cmake -B/tmp/boringssl/build -S/tmp/boringssl -DCMAKE_BUILD_TYPE=RelWithDebInfo \

0 comments on commit 1bde03e

Please sign in to comment.