aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile30
-rw-r--r--Dockerfile.debian32
2 files changed, 31 insertions, 31 deletions
diff --git a/Dockerfile b/Dockerfile
index 276d48b..5dcc717 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ RUN apk add --no-cache --update \
&& cd bitlbee \
&& git checkout ${BITLBEE_VERSION} \
&& ./configure --purple=1 --otr=plugin --ssl=openssl --prefix=/usr --etcdir=/etc/bitlbee \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install-bin \
&& make install-doc \
&& make install-dev \
@@ -49,7 +49,7 @@ RUN echo FACEBOOK=${FACEBOOK} > /tmp/status \
&& cd bitlbee-facebook \
&& git checkout ${FACEBOOK_VERSION} \
&& ./autogen.sh \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/facebook.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -71,7 +71,7 @@ RUN echo STEAM=${STEAM} > /tmp/status \
&& cd bitlbee-steam \
&& git checkout ${STEAM_VERSION} \
&& ./autogen.sh \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/steam.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -93,7 +93,7 @@ RUN echo SKYPEWEB=${SKYPEWEB} > /tmp/status \
&& cd skype4pidgin \
&& git checkout ${SKYPEWEB_VERSION} \
&& cd skypeweb \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libskypeweb.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -123,13 +123,13 @@ RUN echo TELEGRAM=${TELEGRAM} > /tmp/status \
&& mkdir build \
&& cd build \
&& cmake -DCMAKE_BUILD_TYPE=Release .. \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& cd /tmp/tdlib-purple \
&& mkdir build \
&& cd build \
&& cmake -DTd_DIR=/usr/local/lib/cmake/Td -DNoLottie=True -DNoVoip=True .. \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libtelegram-tdlib.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -151,7 +151,7 @@ RUN echo HANGOUTS=${HANGOUTS} > /tmp/status \
&& git clone -n https://github.com/EionRobb/purple-hangouts.git \
&& cd purple-hangouts \
&& git checkout ${HANGOUTS_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libhangouts.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -173,7 +173,7 @@ RUN echo SLACK=${SLACK} > /tmp/status \
&& git clone -n https://github.com/dylex/slack-libpurple.git \
&& cd slack-libpurple \
&& git checkout ${SLACK_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& install -d /usr/share/pixmaps/pidgin/protocols/{16,22,48} \
&& make install \
&& strip /usr/lib/purple-2/libslack.so; \
@@ -196,7 +196,7 @@ RUN echo SIPE=${SIPE} > /tmp/status \
&& git checkout ${SIPE_VERSION} \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libsipe.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -220,7 +220,7 @@ RUN echo DISCORD=${DISCORD} > /tmp/status \
&& git checkout ${DISCORD_VERSION} \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/discord.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -242,7 +242,7 @@ RUN echo ROCKETCHAT=${ROCKETCHAT} > /tmp/status \
&& git clone -n https://github.com/EionRobb/purple-rocketchat.git \
&& cd purple-rocketchat \
&& git checkout ${ROCKETCHAT_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/librocketchat.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -264,7 +264,7 @@ RUN echo MASTODON=${MASTODON} > /tmp/status \
&& git checkout ${MASTODON_VERSION} \
&& sh ./autogen.sh \
&& ./configure \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/mastodon.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -286,7 +286,7 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& git clone -n https://github.com/matrix-org/purple-matrix \
&& cd purple-matrix \
&& git checkout ${MATRIX_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libmatrix.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -309,7 +309,7 @@ RUN echo SIGNAL=${SIGNAL} > /tmp/status \
&& git checkout ${SIGNAL_VERSION} \
&& git submodule init \
&& git submodule update \
- && make SUPPORT_EXTERNAL_ATTACHMENTS=1 \
+ && make -j$(nproc --ignore 2) SUPPORT_EXTERNAL_ATTACHMENTS=1 \
&& make install \
&& strip /usr/lib/purple-2/libsignald.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -329,7 +329,7 @@ RUN echo ICYQUE=${ICYQUE} > /tmp/status \
&& git clone -n https://github.com/EionRobb/icyque.git \
&& cd icyque \
&& git checkout ${ICYQUE_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libicyque.so; \
else mkdir -p /usr/lib/purple-2 \
diff --git a/Dockerfile.debian b/Dockerfile.debian
index 950d7f5..ce53a0e 100644
--- a/Dockerfile.debian
+++ b/Dockerfile.debian
@@ -13,7 +13,7 @@ RUN apt-get update \
&& cd bitlbee \
&& git checkout ${BITLBEE_VERSION} \
&& ./configure --purple=1 --otr=plugin --ssl=openssl --prefix=/usr --etcdir=/etc/bitlbee \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install-bin \
&& make install-doc \
&& make install-dev \
@@ -49,7 +49,7 @@ RUN echo FACEBOOK=${FACEBOOK} > /tmp/status \
&& cd bitlbee-facebook \
&& git checkout ${FACEBOOK_VERSION} \
&& ./autogen.sh \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/facebook.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -71,7 +71,7 @@ RUN echo STEAM=${STEAM} > /tmp/status \
&& cd bitlbee-steam \
&& git checkout ${STEAM_VERSION} \
&& ./autogen.sh \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/steam.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -93,7 +93,7 @@ RUN echo SKYPEWEB=${SKYPEWEB} > /tmp/status \
&& cd skype4pidgin \
&& git checkout ${SKYPEWEB_VERSION} \
&& cd skypeweb \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libskypeweb.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -124,13 +124,13 @@ RUN echo TELEGRAM=${TELEGRAM} > /tmp/status \
&& mkdir build \
&& cd build \
&& cmake -DCMAKE_BUILD_TYPE=Release .. \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& cd /tmp/tdlib-purple \
&& mkdir build \
&& cd build \
&& cmake -DTd_DIR=/usr/local/lib/cmake/Td -DNoLottie=True -DNoVoip=True .. \
- && make \
+ && make -j$(nproc --ignore 2)\
&& make install \
&& strip /usr/lib/purple-2/libtelegram-tdlib.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -154,7 +154,7 @@ RUN echo HANGOUTS=${HANGOUTS} > /tmp/status \
&& git clone -n https://github.com/EionRobb/purple-hangouts.git \
&& cd purple-hangouts \
&& git checkout ${HANGOUTS_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libhangouts.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -176,7 +176,7 @@ RUN echo SLACK=${SLACK} > /tmp/status \
&& git clone -n https://github.com/dylex/slack-libpurple.git \
&& cd slack-libpurple \
&& git checkout ${SLACK_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& install -d /usr/share/pixmaps/pidgin/protocols/{16,22,48} \
&& make install \
&& strip /usr/lib/purple-2/libslack.so; \
@@ -201,7 +201,7 @@ RUN echo SIPE=${SIPE} > /tmp/status \
&& git checkout ${SIPE_VERSION} \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libsipe.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -225,7 +225,7 @@ RUN echo DISCORD=${DISCORD} > /tmp/status \
&& git checkout ${DISCORD_VERSION} \
&& ./autogen.sh \
&& ./configure --prefix=/usr \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/discord.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -249,7 +249,7 @@ RUN echo ROCKETCHAT=${ROCKETCHAT} > /tmp/status \
&& git clone -n https://github.com/EionRobb/purple-rocketchat.git \
&& cd purple-rocketchat \
&& git checkout ${ROCKETCHAT_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/librocketchat.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -271,7 +271,7 @@ RUN echo MASTODON=${MASTODON} > /tmp/status \
&& git checkout ${MASTODON_VERSION} \
&& sh ./autogen.sh \
&& ./configure \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/bitlbee/mastodon.so; \
else mkdir -p /usr/lib/bitlbee \
@@ -300,7 +300,7 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& cd purple-matrix \
&& git checkout ${MATRIX_VERSION} \
&& if [ $(uname -m) == "armv7l" ]; then patch < ../matrix-e2e.c.patch; fi \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libmatrix.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -324,7 +324,7 @@ RUN echo SIGNAL=${SIGNAL} > /tmp/status \
&& git checkout ${SIGNAL_VERSION} \
&& git submodule init \
&& git submodule update \
- && make SUPPORT_EXTERNAL_ATTACHMENTS=1 \
+ && make -j$(nproc --ignore 2) SUPPORT_EXTERNAL_ATTACHMENTS=1 \
&& make install \
&& strip /usr/lib/purple-2/libsignald.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -344,7 +344,7 @@ RUN echo ICYQUE=${ICYQUE} > /tmp/status \
&& git clone -n https://github.com/EionRobb/icyque.git \
&& cd icyque \
&& git checkout ${ICYQUE_VERSION} \
- && make \
+ && make -j$(nproc --ignore 2) \
&& make install \
&& strip /usr/lib/purple-2/libicyque.so; \
else mkdir -p /usr/lib/purple-2 \
@@ -371,7 +371,7 @@ RUN echo WHATSAPP=${WHATSAPP} > /tmp/status \
&& mkdir build \
&& cd build \
&& cmake .. \
- && cmake --build . \
+ && make -j$(nproc --ignore 2) \
&& make install/strip \
&& strip /usr/lib/purple-2/libwhatsmeow.so; \
else mkdir -p /usr/lib/purple-2 \