Skip to content

Commit 024bcdc

Browse files
committed
make install -j 4
1 parent 885c556 commit 024bcdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN cd /tmp && \
3737
mv musl-cross-make-0.9.8 musl-cross-make && \
3838
cp /tmp/config.mak /tmp/musl-cross-make/config.mak && \
3939
cd /tmp/musl-cross-make && \
40-
TARGET=$TARGET make install > /tmp/musl-cross-make.log && \
40+
TARGET=$TARGET make install -j 4 > /tmp/musl-cross-make.log && \
4141
ln -s /usr/local/musl/bin/$TARGET-strip /usr/local/musl/bin/musl-strip && \
4242
cd /tmp && \
4343
rm -rf /tmp/musl-cross-make /tmp/musl-cross-make.log
@@ -80,7 +80,7 @@ RUN export CC=$TARGET_CC && \
8080
sha256sum -c checksums.txt && \
8181
tar xzf zlib-$VERS.tar.gz && cd zlib-$VERS && \
8282
./configure --static --archs="-fPIC" --prefix=/usr/local/musl/$TARGET && \
83-
make && sudo make install && \
83+
make && sudo make install -j 4 && \
8484
cd .. && rm -rf zlib-$VERS.tar.gz zlib-$VERS checksums.txt && \
8585
echo "Building OpenSSL" && \
8686
VERS=1.0.2q && \
@@ -91,7 +91,7 @@ RUN export CC=$TARGET_CC && \
9191
tar xzf openssl-$VERS.tar.gz && cd openssl-$VERS && \
9292
./Configure $OPENSSL_ARCH -fPIC --prefix=/usr/local/musl/$TARGET && \
9393
make depend && \
94-
make && sudo make install && \
94+
make && sudo make install -j 4 && \
9595
cd .. && rm -rf openssl-$VERS.tar.gz openssl-$VERS checksums.txt
9696

9797
ENV OPENSSL_DIR=/usr/local/musl/$TARGET/ \

0 commit comments

Comments
 (0)