bitlbee/Dockerfile
Knut Ahlers ce1c1ba95e
Upgrade to stretch, follow linter advices
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 20:31:19 +01:00

25 lines
767 B
Docker

FROM debian:stretch
COPY bitlbee.list /etc/apt/sources.list.d/bitlbee.list
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/*
COPY start.sh /usr/local/bin/start.sh
COPY bitlbee.conf /etc/bitlbee/bitlbee.conf
COPY motd.txt /etc/bitlbee/motd.txt
USER bitlbee
VOLUME ["/data", "/var/lib/bitlbee"]
EXPOSE 6667/tcp
ENTRYPOINT ["/usr/local/bin/start.sh"]