Skip to content

fix(docker): make kubectl-delivery base image and k8s version configurable#2

Open
vicoooo26 wants to merge 1 commit into
AliyunContainerService:release-1.9from
vicoooo26:fix/kubectl-delivery
Open

fix(docker): make kubectl-delivery base image and k8s version configurable#2
vicoooo26 wants to merge 1 commit into
AliyunContainerService:release-1.9from
vicoooo26:fix/kubectl-delivery

Conversation

@vicoooo26

Copy link
Copy Markdown

What this PR does / why we need it:

Makes the kubectl-delivery Dockerfile more flexible by extracting hardcoded Alpine and Kubernetes versions into build args:

  • ALPINE_VERSION (default 3.22) — replaces the hardcoded alpine:3.17 in both build and final stages
  • K8S_VERSION (default v1.30.7) — replaces the hardcoded ENV K8S_VERSION with an ARG, allowing override via --build-arg

This also upgrades the Alpine base from 3.17 to 3.22, bringing security fixes and updated packages. Both values can now be overridden at build time without editing the Dockerfile.

@github-actions

Copy link
Copy Markdown

🎉 Welcome to the Kubeflow Trainer! 🎉

Thanks for opening your first PR! We're happy to have you as part of our community 🚀

Here's what happens next:

  • If you haven't already, please check out our Contributing Guide for repo-specific guidelines and the Kubeflow Contributor Guide for general community standards.
  • Our team will review your PR soon! cc @kubeflow/kubeflow-trainer-team

Join the community:

Feel free to ask questions in the comments if you need any help or clarification!
Thanks again for contributing to Kubeflow! 🙏

…rable

Add ALPINE_VERSION (default 3.22) and K8S_VERSION (default v1.30.7)
as build args so they can be overridden via --build-arg without
editing the Dockerfile.

Signed-off-by: Vico Chu <vico24826@gmail.com>
@vicoooo26
vicoooo26 force-pushed the fix/kubectl-delivery branch from 50b5d5b to 3b339d4 Compare July 15, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant