Skip to content
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

Fix minikube image build failing on none driver #16385

Closed
spowelljr opened this issue Apr 27, 2023 · 0 comments · Fixed by #16386
Closed

Fix minikube image build failing on none driver #16385

spowelljr opened this issue Apr 27, 2023 · 0 comments · Fixed by #16386
Assignees
Labels
area/image Issues/PRs related to the minikube image subcommand co/none-driver kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@spowelljr
Copy link
Member

spowelljr commented Apr 27, 2023

$ cat ../test/Dockerfile
FROM alpine:latest
RUN echo "hello"

$ sudo -E minikube image build -t test:latest ../test --alsologtostderr
I0427 01:52:48.094340   44206 out.go:296] Setting OutFile to fd 1 ...
I0427 01:52:48.094538   44206 out.go:348] isatty.IsTerminal(1) = true
I0427 01:52:48.094558   44206 out.go:309] Setting ErrFile to fd 2...
I0427 01:52:48.094564   44206 out.go:348] isatty.IsTerminal(2) = true
I0427 01:52:48.094675   44206 root.go:336] Updating PATH: /home/jenkins/.minikube/bin
W0427 01:52:48.094794   44206 root.go:312] Error reading config file at /home/jenkins/.minikube/config/config.json: open /home/jenkins/.minikube/config/config.json: no such file or directory
I0427 01:52:48.095219   44206 config.go:182] Loaded profile config "minikube": Driver=none, ContainerRuntime=docker, KubernetesVersion=v1.26.3
I0427 01:52:48.095624   44206 config.go:182] Loaded profile config "minikube": Driver=none, ContainerRuntime=docker, KubernetesVersion=v1.26.3
I0427 01:52:48.095652   44206 build_images.go:123] succeeded building to: 
I0427 01:52:48.095661   44206 build_images.go:124] failed building to: 

Returns a 0 exit code, but no work is done

@spowelljr spowelljr added co/none-driver area/image Issues/PRs related to the minikube image subcommand labels Apr 27, 2023
@spowelljr spowelljr self-assigned this Apr 27, 2023
@spowelljr spowelljr added the kind/bug Categorizes issue or PR as related to a bug. label Apr 27, 2023
@spowelljr spowelljr added this to the 1.31.0 milestone Apr 27, 2023
@spowelljr spowelljr added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Apr 27, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/image Issues/PRs related to the minikube image subcommand co/none-driver kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant