This commit is contained in:
2026-11-16 09:28:38 +03:00
parent 276dbdad8a
commit 580b33efe8
99 changed files with 23335 additions and 27 deletions
+19
View File
@@ -0,0 +1,19 @@
# Local MinIO Client (mc) from the official GitHub release binary (pinned).
# Fallback when docker.io/minio/mc cannot be pulled.
FROM ubuntu:24.04
ARG MC_VERSION=RELEASE.2025-04-16T18-13-26Z
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates curl \
&& curl -fsSL -o /tmp/mc.bin \
"https://github.com/minio/mc/releases/download/${MC_VERSION}/mc.linux-amd64.${MC_VERSION}" \
&& curl -fsSL -o /tmp/mc.sha256sum \
"https://github.com/minio/mc/releases/download/${MC_VERSION}/mc.linux-amd64.${MC_VERSION}.sha256sum" \
&& expected="$(awk '{print $1}' /tmp/mc.sha256sum)" \
&& echo "${expected} /tmp/mc.bin" | sha256sum -c - \
&& install -m 0755 /tmp/mc.bin /usr/local/bin/mc \
&& rm -f /tmp/mc.bin /tmp/mc.sha256sum \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["mc"]