Skip to content

Commit

Permalink
dockerfile # baduAI>> openssl: ./config no-tests[ERR: invalid option …
Browse files Browse the repository at this point in the history
…"no-tests"]; ./configure --no-tests --no-samples [err: invalid option "--no-tests"]
  • Loading branch information
huapox committed Dec 2, 2024
1 parent bcf2556 commit e64ae99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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" \
Expand Down

0 comments on commit e64ae99

Please sign in to comment.