Skip to content

Commit 5928146

Browse files
authored
use -j "$(nproc)"
Signed-off-by: Zoey <[email protected]>
1 parent 5635218 commit 5928146

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake co
1212
cd /src/wolfssl && \
1313
/src/wolfssl/autogen.sh && \
1414
/src/wolfssl/configure --prefix=/usr --enable-curl --disable-oldtls --enable-quic --enable-ech --enable-psk --enable-session-ticket --enable-earlydata --disable-shared --enable-static && \
15-
make && \
16-
make install && \
15+
make -j "$(nproc)" && \
16+
make -j "$(nproc)" install && \
1717
\
1818
git clone --recursive --branch "$NGH3_VERSION" https://github.com/ngtcp2/nghttp3 /src/nghttp3 && \
1919
cd /src/nghttp3 && \
2020
autoreconf -fi && \
2121
/src/nghttp3/configure --prefix=/usr --enable-lib-only --disable-shared --enable-static && \
22-
make && \
23-
make install && \
22+
make -j "$(nproc)" && \
23+
make -j "$(nproc)" install && \
2424
\
2525
git clone --recursive --branch "$NGTCP2_VERSION" https://github.com/ngtcp2/ngtcp2 /src/ngtcp2 && \
2626
cd /src/ngtcp2 && \
2727
autoreconf -fi && \
2828
/src/ngtcp2/configure --prefix=/usr --with-wolfssl --enable-lib-only --disable-shared --enable-static && \
29-
make && \
30-
make install && \
29+
make -j "$(nproc)" && \
30+
make -j "$(nproc)" install && \
3131
\
3232
mkdir /src/curl && \
3333
wget "https://curl.se/download/curl-$CURL_VERSION.tar.gz" -O - | tar xz -C /src/curl --strip-components=1 && \

0 commit comments

Comments
 (0)