Skip to content

Commit

Permalink
Changes for release filename
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Jun 23, 2024
1 parent 47dba02 commit bed751c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alpine/5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ FROM --platform=$BUILDPLATFORM node:lts-alpine as nodebuild
# Download Invoice Ninja
ARG INVOICENINJA_VERSION
ARG REPOSITORY=invoiceninja/invoiceninja
ARG FILENAME=react-invoiceninja.tar
ARG FILENAME=invoiceninja.tar

RUN set -eux; apk add curl unzip grep

RUN DOWNLOAD_URL=$(curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/latest" | grep -o '"browser_download_url": "[^"]*react-invoiceninja.tar"' | cut -d '"' -f 4) && \
RUN DOWNLOAD_URL=$(curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/latest" | grep -o '"browser_download_url": "[^"]*invoiceninja.tar"' | cut -d '"' -f 4) && \
curl -LJO "$DOWNLOAD_URL" && \
mv react-invoiceninja.tar /tmp/ninja.tar
mv invoiceninja.tar /tmp/ninja.tar

# Extract Invoice Ninja
RUN mkdir -p /var/www/app \
Expand Down

0 comments on commit bed751c

Please sign in to comment.