From 93a5e488005dcc357992b2b62d766a944881b0d2 Mon Sep 17 00:00:00 2001 From: Waester Date: Fri, 17 Aug 2018 16:23:41 +0200 Subject: Add libsipe support --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 5245358..58e2307 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN apk add --no-cache --update libpurple \ glib-dev \ protobuf-c-dev \ mercurial \ + libxml2-dev \ && cd /tmp \ && git clone https://github.com/bitlbee/bitlbee.git \ && cd bitlbee \ @@ -77,6 +78,14 @@ RUN apk add --no-cache --update libpurple \ && make \ && make install \ && strip /usr/lib/purple-2/libslack.so \ + && cd /tmp \ + && git clone https://github.com/tieto/sipe.git \ + && cd sipe \ + && ./autogen.sh \ + && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \ + && make \ + && make install \ + && strip /usr/lib/purple-2/libsipe.so \ && rm -rf /tmp/* \ && rm -rf /usr/include/bitlbee \ && rm -f /usr/lib/pkgconfig/bitlbee.pc \ @@ -84,4 +93,4 @@ RUN apk add --no-cache --update libpurple \ EXPOSE 6667 -ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] \ No newline at end of file +ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] -- cgit v1.2.3