aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2018-09-10 07:02:45 +0000
committerezkrg <ezkrg@ezkrg.me>2018-09-10 07:02:45 +0000
commit6c6d53ca92c16d0fc331907604c17a63fdb6c71f (patch)
treece1c96001e55d77bdbb0f3e50520c2a981405df4 /Dockerfile
parentadd tzdata (diff)
downloaddocker-bitlbee-libpurple-6c6d53ca92c16d0fc331907604c17a63fdb6c71f.tar.gz
docker-bitlbee-libpurple-6c6d53ca92c16d0fc331907604c17a63fdb6c71f.zip
add rocket.chat support
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 10 insertions, 2 deletions
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 \