You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Dockerfile mode with podman, if podman daemon is executed in a directory that is not the project folder and that contains a Dockerfile, the build task/goal is picking the Dockerfile in the podman daemon directory and not the project one.
Eclipse JKube version
SNAPSHOT
Component
JKube Kit
Apache Maven version
3.6.3
Gradle version
No response
Steps to reproduce
Create/Clone a project with a Dockerfile in the root directory of the project
Create another Dockerfile in your home directory
Start the podman daemon in your home directory, and keep it running
cd /home/sunix && podman system service --time=0 unix:/run/user/$(id -u)/podman.sock
in another terminal, tell jkube to use podman by referencing the podman.sock file
Yes, from your description and internal discussion, this seems more like a Podman related issue. Since we're sending the container build configuration and files through the Docker-compatible REST API.
Describe the bug
In Dockerfile mode with podman, if podman daemon is executed in a directory that is not the project folder and that contains a Dockerfile, the build task/goal is picking the Dockerfile in the podman daemon directory and not the project one.
Eclipse JKube version
SNAPSHOT
Component
JKube Kit
Apache Maven version
3.6.3
Gradle version
No response
Steps to reproduce
I managed to figure out it wasn't picking the right Dockerfile in debug mode:
Expected behavior
Dockermode should pick the Dockerfile located in the project.
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: