aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2016-12-07 23:13:26 +0000
committerezkrg <ezkrg@ezkrg.me>2016-12-07 23:13:26 +0000
commit9ae1e3f6cefd87a5b7610e5888e2959af4451448 (patch)
tree86d08e9f187341e8a299f913bff3a67e88146cbe /Dockerfile
parentchange ADD to git clone (diff)
downloaddocker-bitlbee-libpurple-9ae1e3f6cefd87a5b7610e5888e2959af4451448.tar.gz
docker-bitlbee-libpurple-9ae1e3f6cefd87a5b7610e5888e2959af4451448.zip
bitlbee version as ENV
Diffstat (limited to '')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
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 \