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
Steps to reproduce:
1/ Create a Workspace from the Devfile https://github.com/azatsarynnyy/devfiles/blob/master/k8s-devfile.yml
2/ Inject your local kubeconfig into the running Workspace with chectl workspace:inject and refresh the browser's page
3/ Call the Kubernetes: Run or Kubernetes: Debug command
The command is failed with the error: error reading info about "/projects/projects/Dockerfile": stat /projects/projects/Dockerfile: no such file or directory
The command tries to find a Dockerfile in nonexistent /projects/projects folder instead of /projects/simple-nodejs-weather-app folder.
The text was updated successfully, but these errors were encountered:
azatsarynnyy
changed the title
[k8s plugin] Kubernetes: Run command can't locate a project's Dockerfile
[k8s plugin] Kubernetes: Run/Debug commands can't locate a project's Dockerfile
May 16, 2019
Kubernetes: Run command tries to find a Dockerfile into Theia workspace root folder which is /projects by default.
Since /projects is a parent folder for all of the projects in Che Workspace, in order to use Kubernetes: Run command the user needs to open a particular folder as a Theia workspace root folder with File > Open Workspace... menu item. After that step, an image build is starting successfully.
Steps to reproduce:
1/ Create a Workspace from the Devfile https://github.com/azatsarynnyy/devfiles/blob/master/k8s-devfile.yml
2/ Inject your local kubeconfig into the running Workspace with
chectl workspace:inject
and refresh the browser's page3/ Call the
Kubernetes: Run
orKubernetes: Debug
commandThe command is failed with the error:
error reading info about "/projects/projects/Dockerfile": stat /projects/projects/Dockerfile: no such file or directory
The command tries to find a Dockerfile in nonexistent
/projects/projects
folder instead of/projects/simple-nodejs-weather-app
folder.The text was updated successfully, but these errors were encountered: