From 4191752eea3ad72c7bc9799fd19cf2fc426729ca Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Tue, 22 Oct 2024 12:43:23 +0000 Subject: [PATCH 1/3] feat: add `mc` --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 38ba082..ab0403c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,6 +60,7 @@ FROM ghcr.io/budimanjojo/talhelper:${TALHELPER_VERSION} AS talhelper # Misc Tools FROM ghcr.io/mirceanton/taskfile:${TASKFILE_VERSION} AS taskfile #TODO: bw-cli container +FROM docker.io/minio/mc:${MINIO_CLI_VERSION} AS minio-cli ## ================================================================================================ @@ -103,6 +104,7 @@ COPY --from=helm /bin/helm /usr/local/bin/helm COPY --from=flux /usr/local/bin/flux /usr/local/bin/flux COPY --from=bitwarden-cli /bin/bw /usr/local/bin/bw COPY --from=kubecolor /usr/local/bin/kubecolor /usr/local/bin/kubecolor +COPY --from=minio-cli /usr/bin/mc /usr/local/bin/mc # Setup bash completions RUN kustomize completion bash | sudo tee /etc/bash_completion.d/kustomize.bash > /dev/null From c77b41c66f0bef2e28ae2a910e5c5f414bb27920 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Tue, 22 Oct 2024 12:45:54 +0000 Subject: [PATCH 2/3] set minio cli version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab0403c..8f310da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ ARG TALHELPER_VERSION=v3.0.7@sha256:0d8a2d1a2803498da4c0ca4554ebd34cca83d1343410 # Misc Tools ARG TASKFILE_VERSION=v3.38.0@sha256:308c4f5be86bffae3f956cbd7225c4fec69b0e7a89012120b818a10df45d7c59 ARG BITWARDEN_CLI_VERSION=2024.8.1 - +ARG MINIO_CLI_VERSION=RELEASE.2024-10-08T09-37-26Z ## ================================================================================================ # "Build" stage for utilities with docker images already present From 517d2eabf8964ff691192b6a3194224125cb16a4 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Tue, 22 Oct 2024 12:51:10 +0000 Subject: [PATCH 3/3] add bash completion --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 8f310da..fe34c10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -117,6 +117,7 @@ RUN kubectl switch completion bash | sudo tee /etc/bash_completion.d/kubectl-swi RUN helm completion bash | sudo tee /etc/bash_completion.d/helm.bash > /dev/null RUN flux completion bash | sudo tee /etc/bash_completion.d/flux.bash > /dev/null RUN terraform -install-autocomplete +RUN echo "complete -C /usr/local/bin/mc mc" | sudo tee /etc/bash_completion.d/mc.bash > /dev/null # Install additional OS packages RUN DEBIAN_FRONTEND=noninteractive \