Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak contrib/docker; change to ForkDaemon for one process per user (…
…increased security), fix permissions and add copy/paste run command to readme.
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
FROM debian | ||
FROM debian:buster | ||
MAINTAINER Daniel da Silva <mail@danieldasilva.org> | ||
|
||
# Make & install | ||
RUN apt-get update | ||
RUN apt-get install bitlbee-dev bitlbee-libpurple bitlbee-plugin-otr git autoconf build-essential autoproject libtool glib2.0 glib2.0-dev -y | ||
RUN mkdir /data | ||
RUN cd tmp && git clone https://github.com/sm00th/bitlbee-discord.git && cd bitlbee-discord && ./autogen.sh && ./configure && make && make install | ||
|
||
# Bitlbee config | ||
VOLUME ["/data"] | ||
EXPOSE 6667 | ||
VOLUME ["/var/lib/bitlbee"] | ||
COPY bitlbee.conf /etc/bitlbee/bitlbee.conf | ||
WORKDIR / | ||
RUN chown -R bitlbee /var/lib/bitlbee/ | ||
|
||
ADD bitlbee.conf /etc/bitlbee/bitlbee.conf | ||
ENTRYPOINT chown -R bitlbee /var/lib/bitlbee && /usr/sbin/bitlbee -n -c /etc/bitlbee/bitlbee.conf | ||
|
||
ENTRYPOINT ["/usr/sbin/bitlbee", "-n", "-c", "/etc/bitlbee/bitlbee.conf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters