[bitlbee] Entire bitlbee setup

This commit is contained in:
Vincent Ambo 2016-03-03 22:44:48 +01:00
parent 83eb026d3e
commit 2ff9b1bd3c
No known key found for this signature in database
GPG key ID: 66F505681DB8F43B
6 changed files with 103 additions and 0 deletions

24
bitlbee/Dockerfile Normal file
View file

@ -0,0 +1,24 @@
FROM alpine
MAINTAINER Vincent Ambo <tazjin@gmail.com>
# Install bitlbee packages
RUN apk update && \
apk add bitlbee bitlbee-otr bitlbee-doc ca-certificates curl gnutls
# Install stunnel
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
RUN apk update && apk add stunnel
# Add a user for bitlbee
RUN adduser -D bitlbee
# Add bitlbee configuration
ADD bitlbee.conf /etc/bitlbee/bitlbee.conf
ADD motd.txt /etc/bitlbee/motd.txt
# Add stunnel configuration
ADD stunnel.conf /etc/bitlbee/stunnel.conf
EXPOSE 6697
CMD bitlbee -F && stunnel /etc/bitlbee/stunnel.conf