aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2017-07-29 16:16:40 +0000
committerezkrg <ezkrg@ezkrg.me>2017-07-29 16:16:40 +0000
commitb1363f89e9839e2c5f2e03414145bb23832576f9 (patch)
treee4979c0f3d7390e7673d928fd5c00af40fa68852 /Dockerfile
parentrebuild (diff)
downloaddocker-bitlbee-libpurple-b1363f89e9839e2c5f2e03414145bb23832576f9.tar.gz
docker-bitlbee-libpurple-b1363f89e9839e2c5f2e03414145bb23832576f9.zip
alpine3.6 -libpurple-ymsg +telegram-purple
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 11 insertions, 2 deletions
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 \