4 Commits

Author SHA1 Message Date
ezkrg
0023581ccb strip bitlbee and liboml 2019-11-25 23:59:01 +01:00
ezkrg
9f05eee5f3 Merge pull request #14 from ezkrg/matrix
add matrix
2019-11-25 18:19:03 +01:00
ezkrg
646575547f add matrix 2019-11-25 18:14:25 +01:00
ezkrg
a49641cdd4 add matrix 2019-11-25 18:11:04 +01:00
3 changed files with 26 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
# Changelog # Changelog
## 2019-11-25 18:13:41 ([revmischa](https://github.com/revmischa))
- add matrix
## 2019-11-25 13:39:21 ([revmischa](https://github.com/revmischa)) ## 2019-11-25 13:39:21 ([revmischa](https://github.com/revmischa))
- add mastodon - add mastodon

View File

@@ -10,6 +10,7 @@ ARG SIPE=1
ARG DISCORD=1 ARG DISCORD=1
ARG ROCKETCHAT=1 ARG ROCKETCHAT=1
ARG MASTODON=1 ARG MASTODON=1
ARG MATRIX=1
ENV BITLBEE_VERSION 3.6 ENV BITLBEE_VERSION 3.6
ENV FACEBOOK_VERSION v1.2.0 ENV FACEBOOK_VERSION v1.2.0
@@ -22,6 +23,8 @@ ENV SIPE_VERSION upstream/1.23.3
ENV DISCORD_VERSION aa0bbf2 ENV DISCORD_VERSION aa0bbf2
ENV ROCKETCHAT_VERSION 826990b ENV ROCKETCHAT_VERSION 826990b
ENV MASTODON_VERSION 83dee0b ENV MASTODON_VERSION 83dee0b
ENV OLM_VERSION 3.1.4
ENV MATRIX_VERSION 4494ba2
RUN addgroup -g 101 -S bitlbee \ RUN addgroup -g 101 -S bitlbee \
&& adduser -u 101 -D -S -G bitlbee bitlbee \ && adduser -u 101 -D -S -G bitlbee bitlbee \
@@ -40,6 +43,8 @@ RUN addgroup -g 101 -S bitlbee \
protobuf-c \ protobuf-c \
discount-libs \ discount-libs \
libpng \ libpng \
sqlite \
http-parser \
bash \ bash \
&& apk add --no-cache --update --virtual .build-dependencies \ && apk add --no-cache --update --virtual .build-dependencies \
git \ git \
@@ -60,6 +65,8 @@ RUN addgroup -g 101 -S bitlbee \
libxml2-dev \ libxml2-dev \
discount-dev \ discount-dev \
libpng-dev \ libpng-dev \
sqlite-dev \
http-parser-dev \
&& cd /tmp \ && cd /tmp \
&& git clone https://github.com/bitlbee/bitlbee.git \ && git clone https://github.com/bitlbee/bitlbee.git \
&& cd bitlbee \ && cd bitlbee \
@@ -68,6 +75,7 @@ RUN addgroup -g 101 -S bitlbee \
&& make \ && make \
&& make install \ && make install \
&& make install-dev \ && make install-dev \
&& strip /usr/sbin/bitlbee \
&& if [ ${FACEBOOK} -eq 1 ]; then cd /tmp \ && if [ ${FACEBOOK} -eq 1 ]; then cd /tmp \
&& git clone https://github.com/bitlbee/bitlbee-facebook.git \ && git clone https://github.com/bitlbee/bitlbee-facebook.git \
&& cd bitlbee-facebook \ && cd bitlbee-facebook \
@@ -145,6 +153,20 @@ RUN addgroup -g 101 -S bitlbee \
&& make \ && make \
&& make install \ && make install \
&& strip /usr/lib/bitlbee/mastodon.so; fi \ && strip /usr/lib/bitlbee/mastodon.so; fi \
&& if [ ${MATRIX} -eq 1 ]; then cd /tmp \
&& git clone -n https://gitlab.matrix.org/matrix-org/olm.git \
&& cd olm \
&& git checkout ${OLM_VERSION} \
&& make \
&& make install \
&& strip /usr/local/lib/libolm.so.${OLM_VERSION} \
&& cd /tmp \
&& git clone -n https://github.com/matrix-org/purple-matrix \
&& cd purple-matrix \
&& git checkout ${MATRIX_VERSION} \
&& make \
&& make install \
&& strip /usr/lib/purple-2/libmatrix.so; fi \
&& rm -rf /tmp/* \ && rm -rf /tmp/* \
&& rm -rf /usr/include/bitlbee \ && rm -rf /usr/include/bitlbee \
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \ && rm -f /usr/lib/pkgconfig/bitlbee.pc \

View File

@@ -11,6 +11,7 @@ This docker image includes bitlbee with a bunch of useful plugins:
- [discord](https://github.com/sm00th/bitlbee-discord) - [discord](https://github.com/sm00th/bitlbee-discord)
- [rocket.chat](https://bitbucket.org/EionRobb/purple-rocketchat) - [rocket.chat](https://bitbucket.org/EionRobb/purple-rocketchat)
- [mastodon](https://github.com/kensanata/bitlbee-mastodon) - [mastodon](https://github.com/kensanata/bitlbee-mastodon)
- [matrix](https://github.com/matrix-org/purple-matrix)
The most significant being the [libpurple Slack plugin](https://github.com/dylex/slack-libpurple). As Slack is turning off its IRC gateway on May 15 2018, now is the time to spin up your own docker image and start using bitlbee instead. The most significant being the [libpurple Slack plugin](https://github.com/dylex/slack-libpurple). As Slack is turning off its IRC gateway on May 15 2018, now is the time to spin up your own docker image and start using bitlbee instead.