Реализована лабораторная 4: MinIO и вложения

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-12-02 03:04:36 +03:00
co-authored by Copilot
parent ec540a1a72
commit dd484c90b4
28 changed files with 1718 additions and 34 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
ARG MINIO_RELEASE=RELEASE.2025-02-07T23-21-09Z
ARG MINIO_SHA256=5a1b5bc661f0b8fd55eee530ea472205e77624718e31f7b4402bc269299501d5
RUN apk add --no-cache ca-certificates curl \
&& curl --fail --location --silent --show-error \
"https://github.com/minio/minio/releases/download/${MINIO_RELEASE}/minio.linux-amd64.${MINIO_RELEASE}" \
--output /usr/local/bin/minio \
&& echo "${MINIO_SHA256} /usr/local/bin/minio" | sha256sum -c - \
&& chmod 0755 /usr/local/bin/minio \
&& apk del curl
EXPOSE 9000 9001
ENTRYPOINT ["/usr/local/bin/minio"]
CMD ["server", "/data", "--console-address", ":9001"]