-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minikube fails to build ISO in Docker: cannot find package "k8s.io/minikube/pkg/minikube/cluster" #11902
Comments
/kind support |
@alban curious why are trying to build ISO ? in our automation we don't use building iso in docker I am not sure when was last time we used that we are using I am curious have u tried this one ?
if you find a fix for it I would accept a PR |
@medyagh I was trying to build the Minikube iso with a kernel that has the following options:
See #8556 At the moment, we are using this fork to be able to make BPF workshops on Minikube: Thanks for the alternative make commands. I'll try About the command |
@medyagh I'm not sure why @alban was trying to build the ISO, but I fell into |
I was trying the same thing and determined the issue to be 1.10 version of golang in the buildroot-image ISO Dockerfile. Following the instructions at https://github.com/golang/go/wiki/Ubuntu I installed golang 1.17 to get past the initial error. This led to a build error due to I will create a PR with changes. |
For issue kubernetes#11902 Two changes required to get MacOS ISO builds working: 1. Include a 'go module' compatible golang environment in the buildroot docker image 2. Run the build within a shell environment to have $PWD set
For issue kubernetes#11902 Two changes required to get MacOS ISO builds working: 1. Include a 'go module' compatible golang environment in the buildroot docker image 2. Run the build within a shell environment to have $PWD set
Fixed with @cameronbrunner's PR #12539, closing. |
Steps to reproduce the issue:
Following https://minikube.sigs.k8s.io/docs/contrib/building/iso/:
git checkout v1.22.0-beta.0
(same problem on master as of 27d7386)make buildroot-image
make out/minikube.iso
Full output of the build logs:
Additional logs
The text was updated successfully, but these errors were encountered: