We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eadf450 commit d34d0beCopy full SHA for d34d0be
build/Dockerfile
@@ -1,12 +1,12 @@
1
-FROM ubuntu:22.04
2
-ENV KUBECTL_VERSION=v1.26.6
+FROM ubuntu:24.04
+ENV KUBECTL_VERSION=v1.29.6
3
RUN apt update && apt install -y curl
4
RUN set -eux; \
5
ARCH=$(dpkg --print-architecture); \
6
\
7
curl -SL "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl" -o /usr/bin/kubectl; \
8
chmod +x /usr/bin/kubectl
9
10
11
RUN apt update && apt install --no-install-recommends -y openssh-server zsh && apt clean && rm -rf /var/log/* /var/cache/debconf/*-old
12
COPY --from=0 /usr/bin/kubectl /usr/bin/kubectl
0 commit comments