add rocket.chat support

This commit is contained in:
ezkrg
2018-09-10 09:02:45 +02:00
parent d65022e3ae
commit 6c6d53ca92
2 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 2018-09-10 08:52:53
- add rocket.chat plugin
- use alpine 3.8
## 2018-08-21 10:59:17 (needo37)
- add discord plugin
- run as bitlbee user

View File

@@ -1,4 +1,4 @@
FROM alpine:3.7
FROM alpine:3.8
ENV BITLBEE_VERSION 3.5.1
@@ -17,6 +17,7 @@ RUN addgroup -g 101 -S bitlbee \
libwebp \
glib \
protobuf-c \
discount-libs \
&& apk add --no-cache --update --virtual .build-dependencies \
git \
make \
@@ -34,6 +35,7 @@ RUN addgroup -g 101 -S bitlbee \
protobuf-c-dev \
mercurial \
libxml2-dev \
discount-dev \
&& cd /tmp \
&& git clone https://github.com/bitlbee/bitlbee.git \
&& cd bitlbee \
@@ -97,6 +99,12 @@ RUN addgroup -g 101 -S bitlbee \
&& make \
&& make install \
&& strip /usr/lib/bitlbee/discord.so \
&& cd /tmp \
&& hg clone https://bitbucket.org/EionRobb/purple-rocketchat \
&& cd purple-rocketchat \
&& make \
&& make install \
&& strip /usr/lib/purple-2/librocketchat.so \
&& rm -rf /tmp/* \
&& rm -rf /usr/include/bitlbee \
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \