From d0586473c56d0bd4e67e601e39713ae4833b4dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Wannenmacher?= <72857276+guewa@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:33:23 +0100 Subject: [PATCH] Remove CVE-2022-41716 CVE-2022-2879 CVE-2022-2880 --- kubectl.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubectl.Dockerfile b/kubectl.Dockerfile index bd26bcd..3b50c6b 100644 --- a/kubectl.Dockerfile +++ b/kubectl.Dockerfile @@ -3,7 +3,7 @@ FROM bitnami/minideb:bullseye as builder RUN apt-get -y update && apt-get -y install ca-certificates curl jq && \ update-ca-certificates -RUN curl -o /bin/kubectl -L https://dl.k8s.io/release/v1.25.0/bin/linux/amd64/kubectl && chmod 755 /bin/kubectl +RUN curl -o /bin/kubectl -L https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl && chmod 755 /bin/kubectl #### BASE #### FROM gcr.io/distroless/static-debian11:nonroot AS base