2016-05-12 13:50:44 +00:00
|
|
|
FROM debian:jessie
|
|
|
|
|
2017-03-28 16:17:01 +00:00
|
|
|
ADD https://code.bitlbee.org/debian/release.key /tmp/bitlbee_release.key
|
2017-08-17 11:47:49 +00:00
|
|
|
ADD https://jgeboski.github.io/obs.key /tmp/jgeboski.key
|
2017-03-28 16:17:01 +00:00
|
|
|
ADD bitlbee.list /etc/apt/sources.list.d/bitlbee.list
|
|
|
|
|
2016-05-12 13:50:44 +00:00
|
|
|
RUN set -ex \
|
2017-03-28 16:17:01 +00:00
|
|
|
&& apt-key add /tmp/bitlbee_release.key \
|
2017-08-17 11:47:49 +00:00
|
|
|
&& apt-key add /tmp/jgeboski.key \
|
2016-05-12 13:50:44 +00:00
|
|
|
&& apt-get update \
|
2017-08-17 11:47:49 +00:00
|
|
|
&& apt-get install -y bitlbee bitlbee-steam \
|
2016-05-12 13:50:44 +00:00
|
|
|
&& 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"]
|