From f7b443239bb063d30042f908ea572e3c78e1343b Mon Sep 17 00:00:00 2001 From: gmega Date: Fri, 24 Jan 2025 09:51:08 -0300 Subject: [PATCH] feat: add MinIO client to workflow docker image --- docker/bittorrent-benchmarks-workflows.Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/bittorrent-benchmarks-workflows.Dockerfile b/docker/bittorrent-benchmarks-workflows.Dockerfile index 34272cd..6bbd931 100644 --- a/docker/bittorrent-benchmarks-workflows.Dockerfile +++ b/docker/bittorrent-benchmarks-workflows.Dockerfile @@ -6,10 +6,15 @@ COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/kubectl RUN apt-get update && apt-get install -y curl -RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 +RUN curl -SL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 RUN chmod 700 get_helm.sh RUN ./get_helm.sh +RUN curl -SL https://dl.min.io/client/mc/release/linux-amd64/mc \ + --create-dirs \ + -o /usr/local/bin/mc && \ + chmod +x /usr/local/bin/mc + RUN mkdir /opt/bittorrent-benchmarks WORKDIR /opt/bittorrent-benchmarks