aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2019-11-25 12:47:09 +0000
committerGitHub <noreply@github.com>2019-11-25 12:47:09 +0000
commit655e5731ac1c154298fa3c43296833ee16c0e5b6 (patch)
tree515c411a8f99322792afae47ed0718b0a20e0de8
parentenable or disable plugins with build args (diff)
parentadd mastodon to readme too (diff)
downloaddocker-bitlbee-libpurple-655e5731ac1c154298fa3c43296833ee16c0e5b6.tar.gz
docker-bitlbee-libpurple-655e5731ac1c154298fa3c43296833ee16c0e5b6.zip
Merge pull request #13 from ezkrg/mastodon
add mastodon
-rw-r--r--CHANGELOG.md3
-rw-r--r--Dockerfile10
-rw-r--r--README.md1
3 files changed, 14 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8db65b9..9b416ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## 2019-11-25 13:39:21
+- add mastodon (revmischa)
+
## 2018-09-10 08:52:53
- add rocket.chat plugin
- use alpine 3.8
diff --git a/Dockerfile b/Dockerfile
index 725a580..9141870 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ ARG SLACK=1
ARG SIPE=1
ARG DISCORD=1
ARG ROCKETCHAT=1
+ARG MASTODON=1
ENV BITLBEE_VERSION 3.6
ENV FACEBOOK_VERSION v1.2.0
@@ -20,6 +21,7 @@ ENV SLACK_VERSION 8acc4eb
ENV SIPE_VERSION upstream/1.23.3
ENV DISCORD_VERSION aa0bbf2
ENV ROCKETCHAT_VERSION 826990b
+ENV MASTODON_VERSION 83dee0b
RUN addgroup -g 101 -S bitlbee \
&& adduser -u 101 -D -S -G bitlbee bitlbee \
@@ -134,6 +136,14 @@ RUN addgroup -g 101 -S bitlbee \
&& make \
&& make install \
&& strip /usr/lib/purple-2/librocketchat.so; fi \
+ && if [ ${MASTODON} -eq 1 ]; then cd /tmp \
+ && git clone -n https://github.com/kensanata/bitlbee-mastodon \
+ && cd bitlbee-mastodon \
+ && git checkout ${MASTODON_VERSION} \
+ && ./autogen.sh \
+ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl \
+ && make \
+ && make install; fi \
&& rm -rf /tmp/* \
&& rm -rf /usr/include/bitlbee \
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \
diff --git a/README.md b/README.md
index 7e035fa..ddee322 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ This docker image includes bitlbee with a bunch of useful plugins:
- [sipe](https://github.com/tieto/sipe)
- [discord](https://github.com/sm00th/bitlbee-discord)
- [rocket.chat](https://bitbucket.org/EionRobb/purple-rocketchat)
+ - [mastodon](https://github.com/kensanata/bitlbee-mastodon)
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.