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
33# set version label
44ARG BUILD_DATE
55ARG VERSION
6- ARG INVOICENINJA_RELEASE
6+ ARG APP_VERSION
77LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
88LABEL maintainer="alex-phillips"
99
@@ -36,12 +36,12 @@ RUN \
3636 php7-zip && \
3737 echo "**** install invoiceninja ****" && \
3838 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' ); \
4141 fi && \
4242 curl -o \
4343 /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" && \
4545 tar xf \
4646 /tmp/invoiceninja.tar.gz -C \
4747 /app/invoiceninja/ --strip-components=1 && \
You can’t perform that action at this time.
0 commit comments