diff --git a/Dockerfile b/Dockerfile index 110c9bc..662a7f4 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 [err: invalid option "--no-tests"] +# baduAI>> openssl: ./config no-tests[ERR: invalid option "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 \ --with-cc-opt="-static" \ --with-ld-opt="-static" \ --with-cpu-opt="generic" \