mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-28 16:07:05 +00:00
fix unzip error (#117)
This commit is contained in:
+4
-2
@@ -20,9 +20,11 @@ RUN apk add -U --no-cache \
|
|||||||
bash \
|
bash \
|
||||||
unzip
|
unzip
|
||||||
|
|
||||||
|
|
||||||
RUN curl -Lo /tmp/rustfs.zip https://dl.rustfs.com/artifacts/rustfs/rustfs-release-x86_64-unknown-linux-musl.latest.zip && \
|
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 && \
|
unzip -o /tmp/rustfs.zip -d /tmp && \
|
||||||
mv /tmp/rustfs-release-x86_64-unknown-linux-musl/bin/rustfs /rustfs && \
|
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 && \
|
chmod +x /rustfs && \
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user