Skip to content

Commit e64ae99

Browse files
committed
dockerfile # baduAI>> openssl: ./config no-tests[ERR: invalid option "no-tests"]; ./configure --no-tests --no-samples [err: invalid option "--no-tests"]
1 parent bcf2556 commit e64ae99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN cd /usr/local; git clone --depth 1 --branch v0.63 https://gitee.com/g-mids/e
3838
# ADD https://zlib.net/zlib-$ZLIB_VERSION.tar.gz /tmp/zlib.tar.gz
3939
# ADD: 会解压tar.gz
4040
COPY ./data/$VERSION/*.tar.gz /data/
41-
# baduAI>> openssl: ./config no-tests; ./configure --no-tests --no-samples [err: invalid option "--no-tests"]
41+
# baduAI>> openssl: ./config no-tests[ERR: invalid option "no-tests"]; ./configure --no-tests --no-samples [err: invalid option "--no-tests"]
4242
RUN ls -l /data/*; \
4343
tar -C /tmp -xf /data/nginx.tar.gz && \
4444
tar -C /tmp -xf /data/openssl.tar.gz && \
@@ -49,7 +49,7 @@ RUN ls -l /data/*; \
4949
# cat auto/cc/gcc |grep CFLAGS; \
5050
# sbin/nginx: 13M > 5.9M
5151
sed -i "s^CFLAGS\=\"\$CFLAGS\ \-g\"^#CFLAGS=\"\$CFLAGS \-g\"^g" auto/cc/gcc; \
52-
./configure no-tests \
52+
./configure \
5353
--with-cc-opt="-static" \
5454
--with-ld-opt="-static" \
5555
--with-cpu-opt="generic" \

0 commit comments

Comments
 (0)