From 5758cc3eed3e5cc17340ed2691d0412f5c432da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Thu, 4 Nov 2021 09:00:22 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20regclient=20tools=20(regbot,?= =?UTF-8?q?=20regctl,=20regsync)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 910b090..524fecc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,14 @@ RUN skaffold completion bash > $COMPLETIONS/skaffold.bash RUN curl -fsSLo /usr/local/bin/kompose https://github.com/kubernetes/kompose/releases/latest/download/kompose-linux-amd64 \ && chmod +x /usr/local/bin/kompose RUN kompose completion bash > $COMPLETIONS/kompose.bash -RUN curl -fsSLo /usr/local/bin/kubeseal https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.13.1/kubeseal-linux-amd64 \ +RUN curl -fsSLo /usr/local/bin/kubeseal https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.16.0/kubeseal-linux-amd64 \ && chmod +x /usr/local/bin/kubeseal +RUN set -e; \ + for BIN in regbot regctl regsync; do \ + curl -fsSLo /usr/local/bin/$BIN https://github.com/regclient/regclient/releases/download/v0.3.9/$BIN-linux-amd64 ;\ + chmod +x /usr/local/bin/$BIN ;\ + $BIN completion bash > $COMPLETIONS/$BIN.bash ;\ + done COPY --from=jid /go/bin/jid /usr/local/bin/jid RUN echo trap exit TERM > /etc/profile.d/trapterm.sh