-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Starting workspaces from a Dockerfile #21187
Copy link
Copy link
Closed
Labels
area/dashboardarea/devworkspace-operatorkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.roadmap/3-monthsEpics that are planned to complete in the short term (within 3 months)Epics that are planned to complete in the short term (within 3 months)severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/current
Metadata
Metadata
Assignees
Labels
area/dashboardarea/devworkspace-operatorkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.roadmap/3-monthsEpics that are planned to complete in the short term (within 3 months)Epics that are planned to complete in the short term (within 3 months)severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/current
Is your enhancement related to a problem? Please describe
If a developer wants to use a custom image from a Dockerfile he has to 1) pre-build it 2) push it to a registry 3) update the devfile to reference the just published image. This is bad UX.
Describe the solution you'd like
image.imageNameand thecontainer.imagewith a valid image reference (registry/org/name:tag) and the defaultregistry,organdtagshould be configurable at the CheCluster level.dockerfilePathshould be supported. If this parameter is provided, Che should generate a DevWorkspace using the defaultComponents+ a new image component referencing the Dockerfile. If this parameter is provided Che should ignore any devfile at the root of the git repo.Describe alternatives you've considered
Similar to image-puller, we could implement a service that would be responsible for the build of the images