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

Feature Request: Detect Dockerfiles generated by a service #927

Open
SchoolGuy opened this issue Apr 16, 2023 · 3 comments
Open

Feature Request: Detect Dockerfiles generated by a service #927

SchoolGuy opened this issue Apr 16, 2023 · 3 comments

Comments

@SchoolGuy
Copy link

Currently, only a file named Dockerfile appears to be detected when executing osc build. However when using a source service like download_url the file will have a prefix and thus leads to the error message:

┬─[enno@tower:~/S/E/h/cobbler-docker-testing]─[17:32:58]
╰─>$ osc build
Missing argument: build description (for example a spec, dsc or kiwi file)
@Vogtinator
Copy link
Member

How did you run the service? osc build does not run services before looking for the build description, so you'll have to do osc service ra manually.

@Vogtinator
Copy link
Member

Looks like osc service run creates the files with a prefix, which won't work in this context. Should probably be documented.

@SchoolGuy
Copy link
Author

Tried your comment. Works like a charm now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants