Skip to content

Starting workspaces from a Dockerfile #21187

Closed
@l0rd

Description

@l0rd

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

  • Support image components to use Dockerfile as component spec devfile/devworkspace-operator#1036
  • If needed, Eclipse Che Dashboard should replace the image.imageName and the container.image with a valid image reference (registry/org/name:tag) and the default registry, org and tag should be configurable at the CheCluster level.
  • A new Che URL parameter dockerfilePath should 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dashboardarea/devworkspace-operatorkind/enhancementA 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.roadmap/3-monthsEpics that are planned to complete in the short term (within 3 months)severity/P1Has a major impact to usage or development of the system.sprint/current

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions