From 94c08976a430cd345ea5d7705eb4bf7b828b626a Mon Sep 17 00:00:00 2001 From: ezkrg Date: Tue, 22 Nov 2016 17:25:42 +0100 Subject: initial release --- Dockerfile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') 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" ] -- cgit v1.2.3