mirror of
https://github.com/luzifer-docker/bitlbee.git
synced 2024-11-09 11:30:05 +00:00
21 lines
606 B
Text
21 lines
606 B
Text
|
FROM debian:jessie
|
||
|
|
||
|
RUN set -ex \
|
||
|
&& apt-get update \
|
||
|
&& apt-get install -y curl \
|
||
|
&& curl -sSL https://code.bitlbee.org/debian/release.key | apt-key add - \
|
||
|
&& echo "deb http://code.bitlbee.org/debian/master/jessie/amd64/ ./" > /etc/apt/sources.list.d/bitlbee \
|
||
|
&& apt-get update \
|
||
|
&& apt-get install -y bitlbee \
|
||
|
&& apt-get -y remove --purge curl \
|
||
|
&& apt-get -y autoremove
|
||
|
|
||
|
ADD start.sh /usr/local/bin/start.sh
|
||
|
ADD bitlbee.conf /etc/bitlbee/bitlbee.conf
|
||
|
ADD motd.txt /etc/bitlbee/motd.txt
|
||
|
|
||
|
USER bitlbee
|
||
|
VOLUME ["/data", "/var/lib/bitlbee"]
|
||
|
EXPOSE 6667/tcp
|
||
|
ENTRYPOINT ["/usr/local/bin/start.sh"]
|