-
Notifications
You must be signed in to change notification settings - Fork 68
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
dispatcher: consider builtinargs
and userargs
while processing baseImage
name
#229
dispatcher: consider builtinargs
and userargs
while processing baseImage
name
#229
Conversation
LGTM |
Code change looks fine, but the new test could use a few more entries in its slice of test cases. |
17bb324
to
c4b4155
Compare
…age name We already consider builtinargs and userArgs while computing `--from=` flags so use same logic for computing name of baseImage while evaluating `FROM` statements. Allows use cases like ```Dockerfile FROM --platform=linux/amd64 alpine as platform-amd64 FROM --platform=linux/arm64 alpine as platform-arm64 FROM platform-${TARGETARCH} ``` also allows `FROM ${SOME_DEFAULT_OR_USER_ARG} ` in general. Closes: containers/podman#14375 Signed-off-by: Aditya R <arajan@redhat.com>
c4b4155
to
c009008
Compare
@nalind @TomSweeneyRedHat @rhatdan PTAL added more requested tests. |
@flouthoc: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, rhatdan 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 |
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@839fa7 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@839fa7 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@839fa7 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@839fa7 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@4151e43 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
PR openshift/imagebuilder#229 adds support for resolving args in base name, bump openshift/imagebuilder to master@4151e43 so buildah could use this feature. Signed-off-by: Aditya R <arajan@redhat.com>
We already consider
builtinargs
anduserArgs
while computing--from=
flags so use same logic for computing name of baseImage while evaluating
FROM
statements.Allows use cases like
also allows
FROM ${SOME_DEFAULT_OR_USER_ARG}
in general.Closes: containers/podman#14375