Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using odo deploy - remote Dockerfile uri not accesible: HTTPS not supported #5450

Closed
ajm01 opened this issue Feb 10, 2022 · 2 comments · Fixed by #5976
Closed

using odo deploy - remote Dockerfile uri not accesible: HTTPS not supported #5450

ajm01 opened this issue Feb 10, 2022 · 2 comments · Fixed by #5976
Assignees
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation priority/Medium Nice to have issue. Getting it done before priority changes would be great.

Comments

@ajm01
Copy link

ajm01 commented Feb 10, 2022

/kind bug

What versions of software are you using?

Operating System:

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

Output of odo version:

 $ odo version
odo v2.5.0 (724f16e68)

How did you run odo exactly?

odo deploy
with the following deploy build component (and related commands) defined in the devfile:

  - name: outerloop-build-stack
    image:
       imageName: "{{container_image}}"
       dockerfile:
         uri: https://github.com/OpenLiberty/devfile-stack/releases/download/open-liberty-maven-0.8.1/Dockerfile
         buildContext: .

the dockerfile defined here is a stack dockerfile

Actual behavior

$ odo deploy
 ✗  command execution failed: HTTP URL for uri is not supported

Expected behavior

the remote stack provided dockerfile is retrieved and used to build the app image to be used for deployment

Any logs, error output, etc?

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Feb 10, 2022
@kadel kadel added kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. priority/Medium Nice to have issue. Getting it done before priority changes would be great. and removed kind/bug Categorizes issue or PR as related to a bug. labels Feb 11, 2022
@kadel
Copy link
Member

kadel commented Feb 11, 2022

This is intentional. The support for remote Dockeriles was not implemented yet.

@kadel kadel added the v3 label Feb 11, 2022
@kadel kadel removed the v3 label Mar 24, 2022
@kadel kadel added this to the v3.0.0-beta2 milestone May 6, 2022
@kadel kadel removed this from the v3.0.0-beta2 milestone Jun 22, 2022
@valaparthvi
Copy link
Contributor

podman allows using a remote Dockerfile, but docker doesn't. So we will use the common approach of downloading the Dockerfile before using it.

@rm3l rm3l moved this to In Progress in odo v3-beta2 Jul 22, 2022
@rm3l rm3l moved this from In Progress to For review in odo v3-beta2 Jul 26, 2022
Repository owner moved this from For review to Done in odo v3-beta2 Aug 1, 2022
@rm3l rm3l added the v3 label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation priority/Medium Nice to have issue. Getting it done before priority changes would be great.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants