mirror of
https://github.com/luzifer-docker/bitlbee.git
synced 2024-11-08 19:20:00 +00:00
25 lines
767 B
Docker
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"]
|