diff options
author | ezkrg <ezkrg@ezkrg.me> | 2022-04-07 21:27:36 +0000 |
---|---|---|
committer | ezkrg <ezkrg@ezkrg.me> | 2022-04-07 21:27:36 +0000 |
commit | eadfa2d503ffef722ca2ebeeb1a4d440d9beff5c (patch) | |
tree | da1f4904bdb4c099a9c46e09a8a6e716d3ba2841 /Dockerfile | |
parent | update matrix (diff) | |
download | docker-bitlbee-libpurple-eadfa2d503ffef722ca2ebeeb1a4d440d9beff5c.tar.gz docker-bitlbee-libpurple-eadfa2d503ffef722ca2ebeeb1a4d440d9beff5c.zip |
update signal
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -300,16 +300,19 @@ FROM bitlbee-build as signald-build ARG SIGNAL=1 ARG SIGNAL_VERSION +COPY signal-login.c.patch /tmp/login.c.patch + RUN echo SIGNAL=${SIGNAL} > /tmp/status \ && if [ ${SIGNAL} -eq 1 ]; \ then cd /tmp \ - && apk --no-cache add file-dev libmagic \ + && apk --no-cache add file-dev libmagic patch \ && git clone -n https://github.com/hoehermann/libpurple-signald \ && cd libpurple-signald \ && git checkout ${SIGNAL_VERSION} \ && git submodule init \ && git submodule update \ - && make -j$(nproc --ignore 2) SUPPORT_EXTERNAL_ATTACHMENTS=1 \ + && patch < ../login.c.patch \ + && make -j$(nproc --ignore 2) SUPPORT_EXTERNAL_ATTACHMENTS=1 libsignald.so \ && make install \ && strip /usr/lib/purple-2/libsignald.so; \ else mkdir -p /usr/lib/purple-2 \ |