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

[QUESTION] Is containerfiles attribute supposed to be paths in relative to the path declared in context attribute? #134

Open
runlevel5 opened this issue Mar 25, 2024 · 1 comment
Labels
question Further information is requested

Comments

@runlevel5
Copy link

Question

Well I have a Containerfile which resides in a subfolder ./my_app, for docker-compose spec file I simply declare the context: ./my_app and dockerfile: Containerfile. However for buildah-build action, I have to declare the full path for containerfiles: ./my_app/Containerfile. That behaviour caught me by surprise... so wondering if such decision is deliberate or simply it is just an oversight from the onset. Many thanks

@runlevel5 runlevel5 added the question Further information is requested label Mar 25, 2024
@lehmanju
Copy link

lehmanju commented May 8, 2024

Can confirm, it's unintuitive in my opinion.

lduktus pushed a commit to lduktus/containers that referenced this issue Jun 12, 2024
lduktus pushed a commit to lduktus/containers that referenced this issue Jun 12, 2024
Last commit worked, but builds that copy files don't work, trying to set the context.
See:
redhat-actions/buildah-build#134
redhat-actions/buildah-build#44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants