2018-03-10 19:31:19 +00:00
|
|
|
FROM debian:stretch
|
2016-05-12 13:50:44 +00:00
|
|
|
|
2018-03-10 19:31:19 +00:00
|
|
|
COPY bitlbee.list /etc/apt/sources.list.d/bitlbee.list
|
2017-03-28 16:17:01 +00:00
|
|
|
|
2016-05-12 13:50:44 +00:00
|
|
|
RUN set -ex \
|
|
|
|
&& apt-get update \
|
2018-03-10 19:31:19 +00:00
|
|
|
&& 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
|
|
|
|
2018-03-10 19:31:19 +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"]
|