FROM debian:jessie ADD https://code.bitlbee.org/debian/release.key /tmp/bitlbee_release.key ADD https://jgeboski.github.io/obs.key /tmp/jgeboski.key ADD bitlbee.list /etc/apt/sources.list.d/bitlbee.list RUN set -ex \ && apt-key add /tmp/bitlbee_release.key \ && apt-key add /tmp/jgeboski.key \ && apt-get update \ && apt-get install -y bitlbee bitlbee-steam \ && 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"]