Skip to content

Commit

Permalink
Fix quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
vincejv committed Nov 8, 2024
1 parent a5272b3 commit da96493
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ ARG CONFIG="\
--add-module=/usr/src/ngx_http_fancyindex_module \
--add-module=/usr/src/zstd-nginx-module \
--add-dynamic-module=/usr/src/ngx_http_geoip2_module \
--with-cc=clang-19 \
--with-cc-opt=\"$CC_OPT\" \
--with-ld-opt=\"$LD_OPT\" \
--with-cc=clang-19
"

FROM debian:bookworm AS base
Expand All @@ -115,6 +113,8 @@ ARG NGINX_USER_UID
ARG NGINX_GROUP_GID
ARG CONFIG
ARG CFLAGS_OPT="-O3 -pipe -fomit-frame-pointer -march=sandybridge"
ARG CC_OPT
ARG LD_OPT

ENV VERSION_OPENSSL=openssl-3.4.0 \
SHA256_OPENSSL=e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf \
Expand Down Expand Up @@ -246,6 +246,8 @@ RUN \
&& mkdir -p /var/run/nginx/ \
&& cd /usr/src/nginx-$NGINX_VERSION \
&& ./auto/configure $CONFIG \
--with-cc-opt="$CC_OPT" \
--with-ld-opt="$LD_OPT" \
&& make -j"$(getconf _NPROCESSORS_ONLN)"

RUN \
Expand Down

0 comments on commit da96493

Please sign in to comment.