From 6c6d53ca92c16d0fc331907604c17a63fdb6c71f Mon Sep 17 00:00:00 2001 From: ezkrg Date: Mon, 10 Sep 2018 09:02:45 +0200 Subject: add rocket.chat support --- Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index bb00ea2..5f3f2d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.7 +FROM alpine:3.8 ENV BITLBEE_VERSION 3.5.1 @@ -17,6 +17,7 @@ RUN addgroup -g 101 -S bitlbee \ libwebp \ glib \ protobuf-c \ + discount-libs \ && apk add --no-cache --update --virtual .build-dependencies \ git \ make \ @@ -34,6 +35,7 @@ RUN addgroup -g 101 -S bitlbee \ protobuf-c-dev \ mercurial \ libxml2-dev \ + discount-dev \ && cd /tmp \ && git clone https://github.com/bitlbee/bitlbee.git \ && cd bitlbee \ @@ -96,7 +98,13 @@ RUN addgroup -g 101 -S bitlbee \ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \ && make \ && make install \ - && strip /usr/lib/bitlbee/discord.so \ + && strip /usr/lib/bitlbee/discord.so \ + && cd /tmp \ + && hg clone https://bitbucket.org/EionRobb/purple-rocketchat \ + && cd purple-rocketchat \ + && make \ + && make install \ + && strip /usr/lib/purple-2/librocketchat.so \ && rm -rf /tmp/* \ && rm -rf /usr/include/bitlbee \ && rm -f /usr/lib/pkgconfig/bitlbee.pc \ -- cgit v1.2.3