aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2018-04-19 12:23:11 +0000
committerezkrg <ezkrg@ezkrg.me>2018-04-19 12:23:11 +0000
commita0d33045dfe6582bf7f29ddf081c92e971edaed0 (patch)
tree8d2656c5da197ca48376ea2ed235990b71e0281b /Dockerfile
parenttrigger rebuild cause of facebook mqtt change (diff)
downloaddocker-bitlbee-libpurple-a0d33045dfe6582bf7f29ddf081c92e971edaed0.tar.gz
docker-bitlbee-libpurple-a0d33045dfe6582bf7f29ddf081c92e971edaed0.zip
use alpine 3.7 and add slack-libpurple
Diffstat (limited to '')
-rw-r--r--Dockerfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index b6cf860..5245358 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.6
+FROM alpine:3.7
ENV BITLBEE_VERSION 3.5.1
@@ -71,6 +71,12 @@ RUN apk add --no-cache --update libpurple \
&& make \
&& make install \
&& strip /usr/lib/purple-2/libhangouts.so \
+ && cd /tmp \
+ && git clone https://github.com/dylex/slack-libpurple.git \
+ && cd slack-libpurple \
+ && make \
+ && make install \
+ && strip /usr/lib/purple-2/libslack.so \
&& rm -rf /tmp/* \
&& rm -rf /usr/include/bitlbee \
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \
@@ -78,4 +84,4 @@ RUN apk add --no-cache --update libpurple \
EXPOSE 6667
-ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ]
+ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] \ No newline at end of file