Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Nov 25, 2024
1 parent bf75fd4 commit 1b6c963
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,32 +100,38 @@ ARG CONFIG
RUN \
apk add --no-cache --virtual .build-deps \
gcc \
gd-dev \
geoip-dev \
gnupg \
go \
libc-dev \
libxslt-dev \
linux-headers \
make \
mercurial \
musl-dev \
go \
ninja \
mercurial \
openssl-dev \
pcre-dev \
zlib-dev \
linux-headers \
gnupg \
libxslt-dev \
gd-dev \
geoip-dev \
perl-dev \
zlib-dev \
&& apk add --no-cache --virtual .brotli-build-deps \
autoconf \
libtool \
automake \
git \
g++ \
cmake \
g++ \
git \
libtool \
&& apk add --no-cache --virtual .geoip2-build-deps \
libmaxminddb-dev \
&& apk add --no-cache --virtual .njs-build-deps \
libedit-dev \
libxml2-dev \
libxslt-dev \
openssl-dev \
pcre-dev \
readline-dev \
zlib-dev \
&& apk add --no-cache --virtual .zstd-build-deps \
zstd-dev

Expand Down Expand Up @@ -183,7 +189,7 @@ RUN \
&& git remote add origin https://github.com/nginx/njs.git \
&& git fetch --depth 1 origin ${NJS_COMMIT} \
&& git checkout -q FETCH_HEAD \
&& ./configure \
&& ./configure --no-quickjs \
&& make njs \
&& mv /usr/src/njs/build/njs /usr/sbin/njs \
&& echo "njs v$(njs -v)"
Expand All @@ -195,7 +201,7 @@ RUN \
echo "Building nginx ..." \
&& mkdir -p /var/run/nginx/ \
&& cd /usr/src/nginx-$NGINX_VERSION \
&& ./auto/configure $CONFIG --with-cc-opt="$CC_OPT" --with-ld-opt="$LD_OPT" \
&& ./auto/configure $CONFIG \
&& make -j"$(getconf _NPROCESSORS_ONLN)"

RUN \
Expand Down

0 comments on commit 1b6c963

Please sign in to comment.