diff options
| author | Attila Szabó <ezkrg@ezkrg.me> | 2021-07-14 08:42:59 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-14 08:42:59 +0000 | 
| commit | 0eb2c284f702ed84b478c94dd9bdc302096edf7e (patch) | |
| tree | 44e2e57012f051b35f7680c2c12fbf4e4e9789d4 | |
| parent | delete test dockerfile (diff) | |
| parent | Add flag and deps to enable attachment handling for Signal plugin (see https:... (diff) | |
| download | docker-bitlbee-libpurple-0eb2c284f702ed84b478c94dd9bdc302096edf7e.tar.gz docker-bitlbee-libpurple-0eb2c284f702ed84b478c94dd9bdc302096edf7e.zip  | |
Merge pull request #22 from mooomooo/attachments
Add flag and deps to enable attachment handling for Signal plugin 
| -rw-r--r-- | Dockerfile | 4 | 
1 files changed, 3 insertions, 1 deletions
@@ -298,12 +298,13 @@ ARG SIGNAL_VERSION=v0.8.1  RUN echo SIGNAL=${SIGNAL} > /tmp/status \   && if [ ${SIGNAL} -eq 1 ]; \       then cd /tmp \ +       && apk --no-cache add file-dev libmagic \         && git clone -n https://github.com/hoehermann/libpurple-signald \         && cd libpurple-signald \         && git checkout ${SIGNAL_VERSION} \         && git submodule init \         && git submodule update \ -       && make \ +       && make SUPPORT_EXTERNAL_ATTACHMENTS=1 \         && make install \         && strip /usr/lib/purple-2/libsignald.so; \       else mkdir -p /usr/lib/purple-2 \ @@ -420,6 +421,7 @@ RUN addgroup -g 101 -S bitlbee \   && if [ ${STEAM} -eq 1 ] || [ ${TELEGRAM} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} libgcrypt"; fi \   && if [ ${TELEGRAM} -eq 1 ]; then PKGS="${PKGS} zlib libwebp libpng"; fi \   && if [ ${HANGOUTS} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} protobuf-c"; fi \ + && if [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} libmagic"; fi \   && if [ ${SIPE} -eq 1 ]; then PKGS="${PKGS} libxml2"; fi \   && if [ ${ROCKETCHAT} -eq 1 ]; then PKGS="${PKGS} discount"; fi \   && if [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} sqlite http-parser"; fi \  | 
