From b1363f89e9839e2c5f2e03414145bb23832576f9 Mon Sep 17 00:00:00 2001 From: ezkrg Date: Sat, 29 Jul 2017 18:16:40 +0200 Subject: alpine3.6 -libpurple-ymsg +telegram-purple --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 30c933a..1059d6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,17 @@ -FROM alpine:3.5 +FROM alpine:3.6 ENV BITLBEE_VERSION 3.5.1 RUN apk add --no-cache --update libpurple \ libpurple-xmpp \ libpurple-oscar \ - libpurple-ymsg \ libpurple-bonjour \ json-glib \ libgcrypt \ libssl1.0 \ libcrypto1.0 \ + gettext \ + libwebp \ && apk add --no-cache --update --virtual .build-dependencies \ git \ make \ @@ -23,6 +24,7 @@ RUN apk add --no-cache --update libpurple \ libgcrypt-dev \ openssl-dev \ pidgin-dev \ + libwebp-dev \ && cd /tmp \ && git clone https://github.com/bitlbee/bitlbee.git \ && cd bitlbee \ @@ -51,6 +53,13 @@ RUN apk add --no-cache --update libpurple \ && make \ && make install \ && strip /usr/lib/purple-2/libskypeweb.so \ + && cd /tmp \ + && git clone --recursive https://github.com/majn/telegram-purple \ + && cd telegram-purple \ + && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl \ + && make \ + && make install \ + && strip /usr/lib/purple-2/telegram-purple.so \ && rm -rf /tmp/* \ && rm -rf /usr/include/bitlbee \ && rm -f /usr/lib/pkgconfig/bitlbee.pc \ -- cgit v1.2.3