diff --git a/Dockerfile b/Dockerfile index f37c474..b960f6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,12 @@ FROM debian:jessie +ADD https://code.bitlbee.org/debian/release.key /tmp/bitlbee_release.key +ADD bitlbee.list /etc/apt/sources.list.d/bitlbee.list + RUN set -ex \ - && apt-get update \ - && apt-get install -y curl \ - && curl -sSL https://code.bitlbee.org/debian/release.key | apt-key add - \ - && echo "deb http://code.bitlbee.org/debian/master/jessie/amd64/ ./" > /etc/apt/sources.list.d/bitlbee \ + && apt-key add /tmp/bitlbee_release.key \ && apt-get update \ && apt-get install -y bitlbee \ - && apt-get -y remove --purge curl \ && apt-get -y autoremove ADD start.sh /usr/local/bin/start.sh diff --git a/bitlbee.list b/bitlbee.list new file mode 100644 index 0000000..7164406 --- /dev/null +++ b/bitlbee.list @@ -0,0 +1 @@ +deb http://code.bitlbee.org/debian/master/jessie/amd64/ ./