Skip to content

Commit 7003fe2

Browse files
committed
fix order
1 parent 7d26198 commit 7003fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ARG KUBECTL_VERSION=v1.26.7
77
RUN groupadd -g "${GID}" vault && mkdir -p /home/vault \
88
&& usermod -l vault -g "${GID}" -d /home/vault _apt && chown -R vault:vault /home/vault
99

10-
RUN wget https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl
1110

1211
# Update apt and Install dependencies
1312
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
2221
wget \
2322
&& rm -rf /var/lib/apt/lists/* \
2423
&& wget -O /tmp/vault.zip https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip \
25-
&& unzip /tmp/vault.zip -d /tmp && mv /tmp/vault /usr/local/bin/vault && chmod +x /usr/local/bin/vault
24+
&& unzip /tmp/vault.zip -d /tmp && mv /tmp/vault /usr/local/bin/vault && chmod +x /usr/local/bin/vault \
25+
&& wget https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl

0 commit comments

Comments
 (0)