From ea8c5fed8e89855ccad6b1c543dd95f6121a8844 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 23 Nov 2024 17:07:00 +1100 Subject: [PATCH] Fixes for tar command flags --- debian/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/Dockerfile b/debian/Dockerfile index 0faf3fd..c09d74e 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -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