aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorWaester <Waester@users.noreply.github.com>2018-08-17 14:23:41 +0000
committerWaester <Waester@users.noreply.github.com>2018-08-17 15:11:07 +0000
commit93a5e488005dcc357992b2b62d766a944881b0d2 (patch)
tree823ff29c557e80d13c8792d51e25e68cecdb95a4 /Dockerfile
parentMerge pull request #1 from friek/master (diff)
downloaddocker-bitlbee-libpurple-93a5e488005dcc357992b2b62d766a944881b0d2.tar.gz
docker-bitlbee-libpurple-93a5e488005dcc357992b2b62d766a944881b0d2.zip
Add libsipe support
Diffstat (limited to '')
-rw-r--r--Dockerfile11
1 files changed, 10 insertions, 1 deletions
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" ]