diff options
author | ezkrg <ezkrg@ezkrg.me> | 2018-08-21 08:57:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 08:57:45 +0000 |
commit | bdf63fa9ecc1c4c04975f033d2a20ad36a198f5d (patch) | |
tree | 4c92df2de5a17528c79af6cec780b902d4d699ce | |
parent | add Waester's work to changelog (diff) | |
parent | Running things as root is bad. (diff) | |
download | docker-bitlbee-libpurple-bdf63fa9ecc1c4c04975f033d2a20ad36a198f5d.tar.gz docker-bitlbee-libpurple-bdf63fa9ecc1c4c04975f033d2a20ad36a198f5d.zip |
Merge pull request #3 from needo37/master
Add discord plugin
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -86,6 +86,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 +101,7 @@ RUN apk add --no-cache --update libpurple \ EXPOSE 6667 +RUN addgroup -g 996 -S bitlbee +RUN adduser -u 996 -D -S -G bitlbee bitlbee +USER bitlbee ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] |