From 95919c983a360ace3e08aba133489567842b80a9 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Mon, 11 Apr 2016 16:20:13 +0200 Subject: [PATCH] lychee: add versioning --- lychee/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lychee/Dockerfile b/lychee/Dockerfile index ad8decc..8cf23cd 100644 --- a/lychee/Dockerfile +++ b/lychee/Dockerfile @@ -1,6 +1,8 @@ FROM alpine:3.3 MAINTAINER Wonderfall +ARG VERSION=3.1.0 + ENV UID=991 GID=991 RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \ @@ -22,7 +24,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap -e "s/memory_limit = 256M/memory_limit = 512M/g" \ /etc/php/php.ini \ && mkdir /lychee && cd /lychee \ - && wget -qO- https://github.com/electerious/Lychee/archive/master.tar.gz | tar xz --strip 1 \ + && wget -qO- https://github.com/electerious/Lychee/archive/v$VERSION.tar.gz | tar xz --strip 1 \ && apk del \ tar \ ca-certificates \