Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dockerfiles/k8s-tools/kubectl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --- Builder Stage: Download kubectl ---
FROM alpine:3.21 AS builder
FROM alpine:3.22 AS builder

# Versions (update these as needed)
ARG KUBECTL_VERSION=v1.29.3
Expand All @@ -10,7 +10,7 @@ RUN curl -Lo /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl

# --- Final Stage: Runtime Image ---
FROM alpine:3.21
FROM alpine:3.22

# 1. Create non-root user
RUN addgroup -S kube && adduser -S kube -G kube
Expand Down