diff options
author | ezkrg <ezkrg@ezkrg.me> | 2018-09-10 07:07:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 07:07:17 +0000 |
commit | 00d13ec1168f3e24f2fbede0f9aca301dc16059b (patch) | |
tree | ce1c96001e55d77bdbb0f3e50520c2a981405df4 /Dockerfile | |
parent | add tzdata (diff) | |
parent | add rocket.chat support (diff) | |
download | docker-bitlbee-libpurple-00d13ec1168f3e24f2fbede0f9aca301dc16059b.tar.gz docker-bitlbee-libpurple-00d13ec1168f3e24f2fbede0f9aca301dc16059b.zip |
Merge pull request #5 from ezkrg/rocket.chat
add rocket.chat support
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 \ @@ -96,7 +98,13 @@ RUN addgroup -g 101 -S bitlbee \ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \ && make \ && make install \ - && strip /usr/lib/bitlbee/discord.so \ + && 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 \ |