From f312d78f7e4b6d012717078298e81b2d79dba1f8 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Wed, 18 Aug 2021 13:59:07 +0100 Subject: [PATCH] chore: fix extract archive for upcloud cli --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 7425366..a3123d1 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -67,7 +67,7 @@ RUN apk update \ curl -fSL "https://github.com/digitalocean/doctl/releases/download/v${DOCTL_VERSION}/doctl-${DOCTL_VERSION}-${DOCTL_ARCH}.tar.gz" -o /usr/local/bin/doctl; \ chmod +x /usr/local/bin/doctl; \ curl -fSL "https://github.com/UpCloudLtd/upcloud-cli/releases/download/v${UPCTL_VERSION}/upcloud-cli_${UPCTL_VERSION}_${UPCTL_ARCH}.tar.gz" -o /tmp/upctl.tar.gz; \ - tar xvzCf /usr/local/bin /tmp/upctl.tar.gz upctl; \ + tar xvzC /usr/local/bin -f /tmp/upctl.tar.gz upctl; \ chmod +x /usr/local/bin/upctl; \ rm -f /tmp/upctl.tar.gz; \ wget -q "https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${RESTIC_ARCH}.bz2" -O /tmp/restic-${RESTIC_VERSION}.bz2; \