From 7003fe2134f47a3503cf833f54e7f3ac487faa88 Mon Sep 17 00:00:00 2001 From: David Fry Date: Sun, 6 Aug 2023 15:45:14 +0100 Subject: [PATCH] fix order --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cf150c..103ccfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,6 @@ ARG KUBECTL_VERSION=v1.26.7 RUN groupadd -g "${GID}" vault && mkdir -p /home/vault \ && usermod -l vault -g "${GID}" -d /home/vault _apt && chown -R vault:vault /home/vault -RUN wget https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl # Update apt and Install dependencies RUN apt-get update && apt install software-properties-common -y && add-apt-repository ppa:rmescandon/yq -y \ @@ -22,4 +21,5 @@ RUN apt-get update && apt install software-properties-common -y && add-apt-repos wget \ && rm -rf /var/lib/apt/lists/* \ && wget -O /tmp/vault.zip https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip \ - && unzip /tmp/vault.zip -d /tmp && mv /tmp/vault /usr/local/bin/vault && chmod +x /usr/local/bin/vault + && unzip /tmp/vault.zip -d /tmp && mv /tmp/vault /usr/local/bin/vault && chmod +x /usr/local/bin/vault \ + && wget https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl