Skip to content

Commit d34d0be

Browse files
committed
fix(docker): bump image to fix openssh vulnerability
1 parent eadf450 commit d34d0be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM ubuntu:22.04
2-
ENV KUBECTL_VERSION=v1.26.6
1+
FROM ubuntu:24.04
2+
ENV KUBECTL_VERSION=v1.29.6
33
RUN apt update && apt install -y curl
44
RUN set -eux; \
55
ARCH=$(dpkg --print-architecture); \
66
\
77
curl -SL "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl" -o /usr/bin/kubectl; \
88
chmod +x /usr/bin/kubectl
9-
FROM ubuntu:22.04
9+
FROM ubuntu:24.04
1010

1111
RUN apt update && apt install --no-install-recommends -y openssh-server zsh && apt clean && rm -rf /var/log/* /var/cache/debconf/*-old
1212
COPY --from=0 /usr/bin/kubectl /usr/bin/kubectl

0 commit comments

Comments
 (0)