aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezekyel@jate.hu>2016-11-22 16:25:42 +0000
committerezkrg <ezekyel@jate.hu>2016-11-22 16:25:42 +0000
commit94c08976a430cd345ea5d7705eb4bf7b828b626a (patch)
treeb24aee872fe424d9e7c141b3bb9f1a0b7b607433 /Dockerfile
downloaddocker-bitlbee-libpurple-94c08976a430cd345ea5d7705eb4bf7b828b626a.tar.gz
docker-bitlbee-libpurple-94c08976a430cd345ea5d7705eb4bf7b828b626a.zip
initial release
Diffstat (limited to '')
-rw-r--r--Dockerfile58
1 files changed, 58 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..f87d361
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,58 @@
+FROM alpine:3.4
+
+ADD http://get.bitlbee.org/src/bitlbee-3.4.2.tar.gz /tmp/
+
+RUN apk add --no-cache --update libpurple \
+ libpurple-xmpp \
+ libpurple-oscar \
+ libpurple-ymsg \
+ libpurple-bonjour \
+ json-glib \
+ libgcrypt \
+ && apk add --no-cache --update --virtual .build-dependencies \
+ git \
+ make \
+ autoconf \
+ automake \
+ libtool \
+ gcc \
+ g++ \
+ json-glib-dev \
+ libgcrypt-dev \
+ openssl-dev \
+ pidgin-dev \
+ && cd /tmp \
+ && tar xf bitlbee-3.4.2.tar.gz \
+ && cd bitlbee-3.4.2 \
+ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --purple=1 --ssl=openssl --prefix=/usr --etcdir=/etc/bitlbee \
+ && make \
+ && make install \
+ && make install-dev \
+ && cd /tmp \
+ && git clone https://github.com/jgeboski/bitlbee-facebook.git \
+ && cd bitlbee-facebook \
+ && ./autogen.sh \
+ && make \
+ && make install \
+ && strip /usr/lib/bitlbee/facebook.so \
+ && cd /tmp \
+ && git clone https://github.com/jgeboski/bitlbee-steam.git \
+ && cd bitlbee-steam \
+ && ./autogen.sh \
+ && make \
+ && make install \
+ && strip /usr/lib/bitlbee/steam.so \
+ && cd /tmp \
+ && git clone git://github.com/EionRobb/skype4pidgin.git \
+ && cd skype4pidgin/skypeweb \
+ && make \
+ && make install \
+ && strip /usr/lib/purple-2/libskypeweb.so \
+ && rm -rf /tmp/* \
+ && rm -rf /usr/include/bitlbee \
+ && rm -f /usr/lib/pkgconfig/bitlbee.pc \
+ && apk del .build-dependencies
+
+EXPOSE 6667
+
+ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ]