redhat-developer / odo

odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
https://odo.dev
Apache License 2.0
794 stars 243 forks source link

Check if devfileRegistry and git Dockerfiles are supported by odo #7020

Closed feloy closed 1 year ago

feloy commented 1 year ago

We want to know if we should add support for devfileRegistry and git Dockerfiles when creating an Image component in the Web UI.

Research

Outcome

feloy commented 1 year ago

Only URI Dockerfiles are supported by odo v3.14.0

See pkg/devfile/image/docker_compatible.go:

    dockerfile, isTemp, err := resolveAndDownloadDockerfile(fs, image.Dockerfile.Uri)