diff options
-rw-r--r-- | Dockerfile | 58 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 59 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" ] diff --git a/README.md b/README.md new file mode 100644 index 0000000..7489f33 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# docker-bitlbee-libpurple |