Commit 7003fe2 1 parent 7d26198 commit 7003fe2 Copy full SHA for 7003fe2
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ ARG KUBECTL_VERSION=v1.26.7
7
7
RUN groupadd -g "${GID}" vault && mkdir -p /home/vault \
8
8
&& usermod -l vault -g "${GID}" -d /home/vault _apt && chown -R vault:vault /home/vault
9
9
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
11
10
12
11
# Update apt and Install dependencies
13
12
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
22
21
wget \
23
22
&& rm -rf /var/lib/apt/lists/* \
24
23
&& 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
You can’t perform that action at this time.
0 commit comments