aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2018-08-17 15:48:58 +0000
committerGitHub <noreply@github.com>2018-08-17 15:48:58 +0000
commitf5e593e5bbcf60830e4e26914acf0d79fb89f7d9 (patch)
tree823ff29c557e80d13c8792d51e25e68cecdb95a4 /Dockerfile
parentMerge pull request #1 from friek/master (diff)
parentAdd libsipe support (diff)
downloaddocker-bitlbee-libpurple-f5e593e5bbcf60830e4e26914acf0d79fb89f7d9.tar.gz
docker-bitlbee-libpurple-f5e593e5bbcf60830e4e26914acf0d79fb89f7d9.zip
Merge pull request #2 from Waester/sipe
Add libsipe support
Diffstat (limited to 'Dockerfile')
-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" ]