Fixes for tar command flags

This commit is contained in:
David Bomba
2024-11-23 17:07:00 +11:00
parent 7ddfe8a793
commit ea8c5fed8e

2
debian/Dockerfile vendored
View File

@@ -117,7 +117,7 @@ WORKDIR /var/www/html
RUN set -eux; \
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 -L "$DOWNLOAD_URL" | tar -xfvz -C /var/www/html --overwrite && \
curl -L "$DOWNLOAD_URL" | tar -xzf - -C /var/www/html --overwrite && \
rm -rf /var/www/html/ui && \
chown -R www-data:www-data /var/www/html