From 9ae1e3f6cefd87a5b7610e5888e2959af4451448 Mon Sep 17 00:00:00 2001 From: ezkrg Date: Thu, 8 Dec 2016 00:13:26 +0100 Subject: bitlbee version as ENV --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 8d28192..9ac056c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ -- cgit v1.2.3