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

docs: specify order preference for FROM when using multiple containerfiles #4546

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

flouthoc
Copy link
Collaborator

When multiple files are specified buildah considers FROM instruction from the last file specified and so does buildkit and docker so lets specify that in docs.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Closes: #4544

When multiple files are specified buildah considers `FROM` instruction
from the last file specified and so does `buildkit` and `docker` so lets
specify that in docs.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Closes: containers#4544

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

openshift-ci bot commented Jan 30, 2023

[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

@rhatdan
Copy link
Member

rhatdan commented Jan 30, 2023

LGTM
I think we could need a similar fix in podman build man page, PTAL

@rhatdan
Copy link
Member

rhatdan commented Jan 30, 2023

@baude
Copy link
Member

baude commented Jan 31, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 31, 2023
@openshift-merge-robot openshift-merge-robot merged commit b8f0ee9 into containers:main Jan 31, 2023
flouthoc added a commit to flouthoc/podman that referenced this pull request Jan 31, 2023
When multiple files are specified buildah considers `FROM` instruction
from the last file specified and so does `buildkit` and `docker` so lets
specify that in docs.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Similar to: containers/buildah#4546

Signed-off-by: Aditya R <arajan@redhat.com>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/podman that referenced this pull request Feb 7, 2023
When multiple files are specified buildah considers `FROM` instruction
from the last file specified and so does `buildkit` and `docker` so lets
specify that in docs.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Similar to: containers/buildah#4546

Signed-off-by: Aditya R <arajan@redhat.com>
ashley-cui pushed a commit to openshift-cherrypick-robot/podman that referenced this pull request Feb 7, 2023
When multiple files are specified buildah considers `FROM` instruction
from the last file specified and so does `buildkit` and `docker` so lets
specify that in docs.

[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]

Similar to: containers/buildah#4546

Signed-off-by: Aditya R <arajan@redhat.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants