From 6d2c420f547da7035d90e64903f660bf4c9c56e0 Mon Sep 17 00:00:00 2001 From: loverustfs <155562731+loverustfs@users.noreply.github.com> Date: Wed, 9 Jul 2025 01:19:12 +0800 Subject: [PATCH] fix unzip error (#117) --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0e2c3ca8a..5ae310e86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,11 @@ RUN apk add -U --no-cache \ bash \ unzip + RUN curl -Lo /tmp/rustfs.zip https://dl.rustfs.com/artifacts/rustfs/rustfs-release-x86_64-unknown-linux-musl.latest.zip && \ - unzip /tmp/rustfs.zip -d /tmp && \ - mv /tmp/rustfs-release-x86_64-unknown-linux-musl/bin/rustfs /rustfs && \ + unzip -o /tmp/rustfs.zip -d /tmp && \ + tar -xzf /tmp/rustfs-x86_64-unknown-linux-musl.tar.gz -C /tmp && \ + mv /tmp/rustfs-x86_64-unknown-linux-musl/bin/rustfs /rustfs && \ chmod +x /rustfs && \ rm -rf /tmp/*