aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAttila Szabó <ezkrg@ezkrg.me>2021-09-17 12:13:16 +0000
committerGitHub <noreply@github.com>2021-09-17 12:13:16 +0000
commitf4df9946a656f147553669c2b55d8b7e859fe532 (patch)
tree83844eee8e9e862bbe75fe1f64cb03bab058f77e /Dockerfile
parentrevert arm build cause fail on armv7 (diff)
parentbuild test tag (diff)
downloaddocker-bitlbee-libpurple-f4df9946a656f147553669c2b55d8b7e859fe532.tar.gz
docker-bitlbee-libpurple-f4df9946a656f147553669c2b55d8b7e859fe532.zip
Merge pull request #25 from ezkrg/arm-build
arm build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index b98f21b..dcd9f1c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -267,6 +267,8 @@ ARG MATRIX=1
ARG OLM_VERSION=3.2.4
ARG MATRIX_VERSION=88f9558
+COPY matrix-e2e.c.patch /tmp/matrix-e2e.c.patch
+
RUN echo MATRIX=${MATRIX} > /tmp/status \
&& if [ ${MATRIX} -eq 1 ]; \
then cd /tmp \
@@ -280,6 +282,7 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& git clone -n https://github.com/matrix-org/purple-matrix \
&& cd purple-matrix \
&& git checkout ${MATRIX_VERSION} \
+ && if [ $(uname -m) == "armv7l" ]; then patch < ../matrix-e2e.c.patch; fi \
&& make \
&& make install \
&& strip /usr/lib/purple-2/libmatrix.so; \