add telegram-purple to the list of plugins

This commit is contained in:
Ruslan Bekenev
2018-03-06 20:49:45 +03:00
parent 5f04028536
commit 4938a33ac7

View File

@@ -3,10 +3,11 @@ MAINTAINER Michele Bologna <michele.bologna@gmail.com>
ENV VERSION=3.5.1 ENV VERSION=3.5.1
RUN apt-get update && apt-get install -y --no-install-recommends autoconf automake gettext gcc libtool make dpkg-dev libglib2.0-dev libotr5-dev libpurple-dev libgnutls28-dev libjson-glib-dev libprotobuf-c-dev protobuf-c-compiler mercurial && \ RUN apt-get update && apt-get install -y --no-install-recommends autoconf automake gettext gcc libtool make dpkg-dev libglib2.0-dev libotr5-dev libpurple-dev libgnutls28-dev libjson-glib-dev libprotobuf-c-dev protobuf-c-compiler mercurial libgcrypt20 libgcrypt20-dev libwebp-dev && \
cd && \ cd && \
curl -LO# https://get.bitlbee.org/src/bitlbee-$VERSION.tar.gz && \ curl -LO# https://get.bitlbee.org/src/bitlbee-$VERSION.tar.gz && \
curl -LO# https://github.com/EionRobb/skype4pidgin/archive/1.4.tar.gz && \ curl -LO# https://github.com/EionRobb/skype4pidgin/archive/1.4.tar.gz && \
curl -LO# https://github.com/majn/telegram-purple/releases/download/v1.3.1/telegram-purple_1.3.1.orig.tar.gz && \
curl -LO# https://github.com/jgeboski/bitlbee-facebook/archive/v1.1.2.tar.gz && \ curl -LO# https://github.com/jgeboski/bitlbee-facebook/archive/v1.1.2.tar.gz && \
hg clone https://bitbucket.org/EionRobb/purple-hangouts/ && \ hg clone https://bitbucket.org/EionRobb/purple-hangouts/ && \
tar zxvf bitlbee-$VERSION.tar.gz && \ tar zxvf bitlbee-$VERSION.tar.gz && \
@@ -16,11 +17,20 @@ make && \
make install && \ make install && \
make install-etc && \ make install-etc && \
make install-dev && \ make install-dev && \
# install skypeweb
cd && \ cd && \
tar zxvf 1.4.tar.gz && \ tar zxvf 1.4.tar.gz && \
cd skype4pidgin-1.4/skypeweb && \ cd skype4pidgin-1.4/skypeweb && \
make && \ make && \
make install && \ make install && \
# install telegram purple
cd && \
tar zxvf telegram-purple_1.3.1.orig.tar.gz && \
cd telegram-purple && \
./configure && \
make && \
make install && \
# install bitlbee-facebook
cd && \ cd && \
tar zxvf v1.1.2.tar.gz && \ tar zxvf v1.1.2.tar.gz && \
cd bitlbee-facebook-1.1.2 && \ cd bitlbee-facebook-1.1.2 && \
@@ -39,6 +49,8 @@ rm -fr bitlbee-$VERSION* && \
rm -fr 1.4.tar.gz skype4pidgin-* && \ rm -fr 1.4.tar.gz skype4pidgin-* && \
rm -fr v1.1.2.tar.gz bitlbee-facebook-* && \ rm -fr v1.1.2.tar.gz bitlbee-facebook-* && \
rm -fr purple-hangouts && \ rm -fr purple-hangouts && \
rm -fr telegram-purple_1.3.1.orig.tar.gz && \
rm -fr telegram-purple && \
mkdir -p /var/lib/bitlbee && \ mkdir -p /var/lib/bitlbee && \
chown -R daemon:daemon /var/lib/bitlbee* # dup: otherwise it won't be chown'ed when using volumes chown -R daemon:daemon /var/lib/bitlbee* # dup: otherwise it won't be chown'ed when using volumes