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

[release-1.26] [backport] BuildDockerfiles: error out if path to containerfile is a directory #4166

Merged

Conversation

flouthoc
Copy link
Collaborator

@flouthoc flouthoc commented Aug 4, 2022

Backport: #4096 to 1.26.x branch.
See discussion here: containers/podman#15180

PR containers#1132 added a support for
`buildah build -f <path-to-dir>` but it was decided that `-f` should
only support file and not a directory hence error out for such use-case.

Change matches with behaviour of docker and buildkit

Closes: containers/podman#14836

Signed-off-by: Aditya R <arajan@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Aug 4, 2022
@flouthoc
Copy link
Collaborator Author

flouthoc commented Aug 4, 2022

/hold for discussion here: containers/podman#15180
@nalind PTAL

Signed-off-by: Aditya R <arajan@redhat.com>
@TomSweeneyRedHat
Copy link
Member

LGTM

@nalind
Copy link
Member

nalind commented Aug 4, 2022

/lgtm

@flouthoc
Copy link
Collaborator Author

flouthoc commented Aug 5, 2022

/hold cancel

@openshift-ci openshift-ci bot merged commit 23fbead into containers:release-1.26 Aug 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants