This repository was archived by the owner on Apr 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.13
3
3
# set version label
4
4
ARG BUILD_DATE
5
5
ARG VERSION
6
- ARG INVOICENINJA_RELEASE
6
+ ARG APP_VERSION
7
7
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
8
LABEL maintainer="alex-phillips"
9
9
@@ -36,12 +36,12 @@ RUN \
36
36
php7-zip && \
37
37
echo "**** install invoiceninja ****" && \
38
38
mkdir -p /app/invoiceninja && \
39
- if [ -z ${INVOICENINJA_RELEASE } ]; then \
40
- INVOICENINJA_RELEASE =$(curl -s https://api.github.com/repos/invoiceninja/invoiceninja/releases | jq -rc 'limit(1;.[] | select( .target_commitish | match("v5-stable"))) .tag_name' ); \
39
+ if [ -z ${APP_VERSION } ]; then \
40
+ APP_VERSION =$(curl -s https://api.github.com/repos/invoiceninja/invoiceninja/releases | jq -rc 'limit(1;.[] | select( .target_commitish | match("v5-stable"))) .tag_name' ); \
41
41
fi && \
42
42
curl -o \
43
43
/tmp/invoiceninja.tar.gz -L \
44
- "https://github.com/invoiceninja/invoiceninja/archive/${INVOICENINJA_RELEASE }.tar.gz" && \
44
+ "https://github.com/invoiceninja/invoiceninja/archive/${APP_VERSION }.tar.gz" && \
45
45
tar xf \
46
46
/tmp/invoiceninja.tar.gz -C \
47
47
/app/invoiceninja/ --strip-components=1 && \
You can’t perform that action at this time.
0 commit comments