You've already forked docker-bitlbee-libpurple
Compare commits
6 Commits
2020092423
...
2021021109
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
739b9b94f5 | ||
|
|
fd12688c5a | ||
|
|
1dd49790c8 | ||
|
|
a6225e3596 | ||
|
|
fb6b62172b | ||
|
|
5f6359f70c |
@@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2020-11-04 03:16:34 ([heywoodlh](https://github.com/heywoodlh))
|
||||||
|
- add signal
|
||||||
|
|
||||||
## 2020-04-09 20:27:51
|
## 2020-04-09 20:27:51
|
||||||
- add otr
|
- add otr
|
||||||
|
|
||||||
|
|||||||
27
Dockerfile
27
Dockerfile
@@ -290,6 +290,26 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
|
|||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
|
FROM bitlbee-build as signald-build
|
||||||
|
|
||||||
|
ARG SIGNAL=1
|
||||||
|
ARG SIGNAL_VERSION=f53a118
|
||||||
|
|
||||||
|
RUN echo SIGNAL=${SIGNAL} > /tmp/status \
|
||||||
|
&& if [ ${SIGNAL} -eq 1 ]; \
|
||||||
|
then cd /tmp \
|
||||||
|
&& git clone -n https://github.com/hoehermann/libpurple-signald \
|
||||||
|
&& cd libpurple-signald \
|
||||||
|
&& git checkout ${SIGNAL_VERSION} \
|
||||||
|
&& make \
|
||||||
|
&& make install \
|
||||||
|
&& strip /usr/lib/purple-2/libsignald.so; \
|
||||||
|
else mkdir -p /usr/lib/purple-2 \
|
||||||
|
&& ln -sf /nowhere /usr/lib/purple-2/libsignald.so; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ---
|
||||||
|
|
||||||
FROM alpine:${ALPINE_VERSION} as bitlbee-plugins
|
FROM alpine:${ALPINE_VERSION} as bitlbee-plugins
|
||||||
|
|
||||||
COPY --from=bitlbee-build /usr/sbin/bitlbee /tmp/usr/sbin/bitlbee
|
COPY --from=bitlbee-build /usr/sbin/bitlbee /tmp/usr/sbin/bitlbee
|
||||||
@@ -346,6 +366,9 @@ COPY --from=matrix-build /usr/local/lib/libolm.so.3.1.4 /tmp/usr/local/lib/libol
|
|||||||
COPY --from=matrix-build /usr/lib/purple-2/libmatrix.so /tmp/usr/lib/purple-2/libmatrix.so
|
COPY --from=matrix-build /usr/lib/purple-2/libmatrix.so /tmp/usr/lib/purple-2/libmatrix.so
|
||||||
COPY --from=matrix-build /tmp/status /tmp/plugin/matrix
|
COPY --from=matrix-build /tmp/status /tmp/plugin/matrix
|
||||||
|
|
||||||
|
COPY --from=signald-build /usr/lib/purple-2/libsignald.so /tmp/usr/lib/purple-2/libsignald.so
|
||||||
|
COPY --from=signald-build /tmp/status /tmp/plugin/signald
|
||||||
|
|
||||||
RUN apk add --update --no-cache findutils \
|
RUN apk add --update --no-cache findutils \
|
||||||
&& find /tmp/ -type f -empty -delete \
|
&& find /tmp/ -type f -empty -delete \
|
||||||
&& find /tmp/ -type d -empty -delete \
|
&& find /tmp/ -type d -empty -delete \
|
||||||
@@ -367,10 +390,10 @@ RUN addgroup -g 101 -S bitlbee \
|
|||||||
&& source /plugins \
|
&& source /plugins \
|
||||||
&& if [ ${OTR} -eq 1 ]; then PKGS="${PKGS} libotr"; fi \
|
&& if [ ${OTR} -eq 1 ]; then PKGS="${PKGS} libotr"; fi \
|
||||||
&& if [ ${FACEBOOK} -eq 1 ] || [ ${SKYPEWEB} -eq 1 ] || [ ${HANGOUTS} -eq 1 ] \
|
&& if [ ${FACEBOOK} -eq 1 ] || [ ${SKYPEWEB} -eq 1 ] || [ ${HANGOUTS} -eq 1 ] \
|
||||||
|| [ ${ROCKETCHAT} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} json-glib"; fi \
|
|| [ ${ROCKETCHAT} -eq 1 ] || [ ${MATRIX} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} json-glib"; fi \
|
||||||
&& if [ ${STEAM} -eq 1 ] || [ ${TELEGRAM} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} libgcrypt"; fi \
|
&& if [ ${STEAM} -eq 1 ] || [ ${TELEGRAM} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} libgcrypt"; fi \
|
||||||
&& if [ ${TELEGRAM} -eq 1 ]; then PKGS="${PKGS} zlib libwebp libpng"; fi \
|
&& if [ ${TELEGRAM} -eq 1 ]; then PKGS="${PKGS} zlib libwebp libpng"; fi \
|
||||||
&& if [ ${HANGOUTS} -eq 1 ]; then PKGS="${PKGS} protobuf-c"; fi \
|
&& if [ ${HANGOUTS} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} protobuf-c"; fi \
|
||||||
&& if [ ${SIPE} -eq 1 ]; then PKGS="${PKGS} libxml2"; fi \
|
&& if [ ${SIPE} -eq 1 ]; then PKGS="${PKGS} libxml2"; fi \
|
||||||
&& if [ ${ROCKETCHAT} -eq 1 ]; then PKGS="${PKGS} discount"; fi \
|
&& if [ ${ROCKETCHAT} -eq 1 ]; then PKGS="${PKGS} discount"; fi \
|
||||||
&& if [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} sqlite http-parser"; fi \
|
&& if [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} sqlite http-parser"; fi \
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ This docker image includes bitlbee with a bunch of useful plugins:
|
|||||||
- [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)
|
- [matrix](https://github.com/matrix-org/purple-matrix)
|
||||||
|
- [signal](https://github.com/hoehermann/libpurple-signald)
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user