diff options
author | ezkrg <ezkrg@ezkrg.me> | 2016-12-07 23:13:26 +0000 |
---|---|---|
committer | ezkrg <ezkrg@ezkrg.me> | 2016-12-07 23:13:26 +0000 |
commit | 9ae1e3f6cefd87a5b7610e5888e2959af4451448 (patch) | |
tree | 86d08e9f187341e8a299f913bff3a67e88146cbe /Dockerfile | |
parent | change ADD to git clone (diff) | |
download | docker-bitlbee-libpurple-9ae1e3f6cefd87a5b7610e5888e2959af4451448.tar.gz docker-bitlbee-libpurple-9ae1e3f6cefd87a5b7610e5888e2959af4451448.zip |
bitlbee version as ENV
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ FROM alpine:3.4 +ENV BITLBEE_VERSION 3.4.2 + RUN apk add --no-cache --update libpurple \ libpurple-xmpp \ libpurple-oscar \ @@ -22,7 +24,7 @@ RUN apk add --no-cache --update libpurple \ && cd /tmp \ && git clone https://github.com/bitlbee/bitlbee.git \ && cd bitlbee \ - && git checkout 3.4.2 \ + && git checkout ${BITLBEE_VERSION} \ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --purple=1 --ssl=openssl --prefix=/usr --etcdir=/etc/bitlbee \ && make \ && make install \ |