Skip to content

Commit 1a35ef6

Browse files
committed
Add kubectl
1 parent 166b295 commit 1a35ef6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ RUN apk add --no-cache ca-certificates openssl
1717
# processes/io
1818
RUN apk add --no-cache htop atop strace iotop sysstat ltrace ncdu logrotate hdparm pciutils psmisc tree pv
1919

20+
# kubectl
21+
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" \
22+
&& chmod +x ./kubectl \
23+
&& mv ./kubectl /usr/local/bin/kubectl
24+
2025
CMD [ "bash" ]

0 commit comments

Comments
 (0)