You've already forked docker-bitlbee-libpurple
Compare commits
6 Commits
2018081717
...
2018082110
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
043bd98700 | ||
|
|
0bc1103787 | ||
|
|
9cde1af86e | ||
|
|
bdf63fa9ec | ||
|
|
7841a2eb47 | ||
|
|
38af27f938 |
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 2018-08-21 10:59:17 (needo37)
|
||||
- add discord plugin
|
||||
- run as bitlbee user
|
||||
|
||||
## 2018-08-17 17:59:13 (Waester)
|
||||
- add libsipe support
|
||||
|
||||
|
||||
16
Dockerfile
16
Dockerfile
@@ -2,7 +2,9 @@ FROM alpine:3.7
|
||||
|
||||
ENV BITLBEE_VERSION 3.5.1
|
||||
|
||||
RUN apk add --no-cache --update libpurple \
|
||||
RUN addgroup -g 101 -S bitlbee \
|
||||
&& adduser -u 101 -D -S -G bitlbee bitlbee \
|
||||
&& apk add --no-cache --update libpurple \
|
||||
libpurple-xmpp \
|
||||
libpurple-oscar \
|
||||
libpurple-bonjour \
|
||||
@@ -86,6 +88,14 @@ RUN apk add --no-cache --update libpurple \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& strip /usr/lib/purple-2/libsipe.so \
|
||||
&& cd /tmp \
|
||||
&& git clone https://github.com/sm00th/bitlbee-discord.git \
|
||||
&& cd bitlbee-discord \
|
||||
&& ./autogen.sh \
|
||||
&& ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& strip /usr/lib/bitlbee/discord.so \
|
||||
&& rm -rf /tmp/* \
|
||||
&& rm -rf /usr/include/bitlbee \
|
||||
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \
|
||||
@@ -93,4 +103,6 @@ RUN apk add --no-cache --update libpurple \
|
||||
|
||||
EXPOSE 6667
|
||||
|
||||
ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ]
|
||||
USER bitlbee
|
||||
|
||||
CMD [ "/usr/sbin/bitlbee", "-F", "-n" ]
|
||||
|
||||
Reference in New Issue
Block a user