summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorFrank Tornack <frankenstein91.info@googlemail.com>2023-01-29 01:28:06 +0100
committerFrank Tornack <frankenstein91.info@googlemail.com>2023-01-29 01:28:06 +0100
commit108b8c7ac3c5c41b13dbe4b8b579b288b27676b0 (patch)
tree1a4f8707042864ac43af0af9dd255cf109e2a7e2 /docker
parent98aa6fbfea3f4951e7412dce7f8ccdd670c38d0e (diff)
Parallel compilation
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile.ArchLinux4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile.ArchLinux b/docker/Dockerfile.ArchLinux
index 4f7a442b9..9691dd16e 100644
--- a/docker/Dockerfile.ArchLinux
+++ b/docker/Dockerfile.ArchLinux
@@ -37,7 +37,7 @@ WORKDIR /tmp
# buid package for qt5-webkit from AUR
RUN git clone https://aur.archlinux.org/qt5-webkit.git && \
cd qt5-webkit && \
-makepkg --noconfirm && \
+MAKEFLAGS="-j$(nproc)" makepkg --noconfirm && \
cd ..
USER root
# install the package
@@ -46,7 +46,7 @@ rm -rf /tmp/qt5-webkit
# build package for wkhtmltopdf from AUR
RUN git clone https://aur.archlinux.org/wkhtmltopdf.git && \
cd wkhtmltopdf && \
-makepkg --noconfirm && \
+MAKEFLAGS="-j$(nproc)" makepkg --noconfirm && \
cd ..
USER root
# install the package