blob: 30c933ac6f680cfb5673d821c1b20be02a9dedf1 (
plain) (
tree)
|
|
FROM alpine:3.5
ENV BITLBEE_VERSION 3.5.1
RUN apk add --no-cache --update libpurple \
libpurple-xmpp \
libpurple-oscar \
libpurple-ymsg \
libpurple-bonjour \
json-glib \
libgcrypt \
libssl1.0 \
libcrypto1.0 \
&& 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 \
&& git clone https://github.com/bitlbee/bitlbee.git \
&& cd bitlbee \
&& git checkout ${BITLBEE_VERSION} \
&& ./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 --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl \
&& 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" ]
|