From bcf2556ae796c9352120752b9d3dfdee99e3df70 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 2 Dec 2024 15:42:16 +0800 Subject: [PATCH] dockerfile try ./configure no-tests --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8013b8b..110c9bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN cd /usr/local; git clone --depth 1 --branch v0.63 https://gitee.com/g-mids/e # ADD https://zlib.net/zlib-$ZLIB_VERSION.tar.gz /tmp/zlib.tar.gz # ADD: 会解压tar.gz COPY ./data/$VERSION/*.tar.gz /data/ -# baduAI>> openssl: ./config no-tests; ./configure --no-tests --no-samples +# baduAI>> openssl: ./config no-tests; ./configure --no-tests --no-samples [err: invalid option "--no-tests"] RUN ls -l /data/*; \ tar -C /tmp -xf /data/nginx.tar.gz && \ tar -C /tmp -xf /data/openssl.tar.gz && \ @@ -49,7 +49,7 @@ RUN ls -l /data/*; \ # cat auto/cc/gcc |grep CFLAGS; \ # sbin/nginx: 13M > 5.9M sed -i "s^CFLAGS\=\"\$CFLAGS\ \-g\"^#CFLAGS=\"\$CFLAGS \-g\"^g" auto/cc/gcc; \ - ./configure --no-tests \ + ./configure no-tests \ --with-cc-opt="-static" \ --with-ld-opt="-static" \ --with-cpu-opt="generic" \