mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
fix Illegal instruction error
This commit is contained in:
parent
f0a97ae362
commit
89cb674a37
@ -38,6 +38,7 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
|
||||
&& apk add \
|
||||
${BUILD_DEPS} \
|
||||
pcre \
|
||||
curl \
|
||||
zlib \
|
||||
libgcc \
|
||||
libstdc++ \
|
||||
@ -105,7 +106,7 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
|
||||
--sbin-path=/usr/local/sbin/nginx \
|
||||
--with-cc-opt="-O3 -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wno-deprecated-declarations -I ../boringssl/.openssl/include/" \
|
||||
--with-ld-opt="-lrt -ljemalloc -Wl,-Bsymbolic-functions -Wl,-z,relro -L ../boringssl/.openssl/lib" \
|
||||
--with-openssl-opt='no-async enable-ec_nistp_64_gcc_128 no-shared no-ssl2 no-ssl3 no-comp no-idea no-weak-ssl-ciphers -DOPENSSL_NO_HEARTBEATS -m64 -march=native -mtune=native -O3 -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2' \
|
||||
--with-openssl-opt='no-async enable-ec_nistp_64_gcc_128 no-shared no-ssl2 no-ssl3 no-comp no-idea no-weak-ssl-ciphers -DOPENSSL_NO_HEARTBEATS -O3 -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2' \
|
||||
--with-openssl=/tmp/openssl-${OPENSSL_VERSION} \
|
||||
--http-log-path=/nginx/log/nginx_access.log \
|
||||
--error-log-path=/nginx/log/nginx_error.log \
|
||||
|
Loading…
x
Reference in New Issue
Block a user