mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
lychee: add versioning
This commit is contained in:
parent
51a02f0733
commit
95919c983a
@ -1,6 +1,8 @@
|
||||
FROM alpine:3.3
|
||||
MAINTAINER Wonderfall <wonderfall@schrodinger.io>
|
||||
|
||||
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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user