mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Fixes for tar command flags
This commit is contained in:
2
debian/Dockerfile
vendored
2
debian/Dockerfile
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user