Skip to content

Commit 438d2d7

Browse files
committed
Actually install kubectl to a bin
Signed-off-by: Sergei Lukianov <[email protected]>
1 parent 0127c02 commit 438d2d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ apt-get update -y \
3131
&& apt-get autoremove --yes \
3232
&& rm -rf /var/lib/apt/lists/*
3333

34-
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
34+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
35+
&& chmod +x kubectl \
36+
&& mv kubectl /usr/local/bin/

0 commit comments

Comments
 (0)