bitlbee/Dockerfile

26 lines
767 B
Text
Raw Permalink Normal View History

FROM debian:stretch
2016-05-12 13:50:44 +00:00
COPY bitlbee.list /etc/apt/sources.list.d/bitlbee.list
2016-05-12 13:50:44 +00:00
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends gnupg2 curl ca-certificates \
&& curl -sSfL https://code.bitlbee.org/debian/release.key | apt-key add - \
&& curl -sSfL https://jgeboski.github.io/obs.key | apt-key add - \
&& apt-get update \
&& apt-get install -y --no-install-recommends bitlbee bitlbee-steam \
&& apt-get purge -y gnupg2 curl \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
2016-05-12 13:50:44 +00:00
COPY start.sh /usr/local/bin/start.sh
COPY bitlbee.conf /etc/bitlbee/bitlbee.conf
COPY motd.txt /etc/bitlbee/motd.txt
2016-05-12 13:50:44 +00:00
USER bitlbee
VOLUME ["/data", "/var/lib/bitlbee"]
EXPOSE 6667/tcp
ENTRYPOINT ["/usr/local/bin/start.sh"]