-
Notifications
You must be signed in to change notification settings - Fork 55
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
[RHOAIENG-7484] - make container builder configurable for odh-control… #207
Conversation
Makefile
Outdated
# Default for docker, no value | ||
ARCH_PARAMETER = | ||
ifeq ($(ENGINE),podman) | ||
ARCH_PARAMETER = --arch $(ARCH) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would --platform
work? Such arg seems to be supported both by docker and podman, so we no longer would need conditionals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
work if you enforce os to linux as well.
--arch does it automatically.
--platform
Error: creating build container: choosing an image from manifest list docker://registry.access.redhat.com/ubi8/go-toolset:1.19: no image found in manifest list for architecture amd64, variant "", OS darwin
…ler operator chore: Allow to set the engine for the make container build and push goals Signed-off-by: Spolti <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: israel-hdez, spolti 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 |
…ler operator
chore: Allow to set the engine for the make container build and push goals
Description
How Has This Been Tested?
Merge criteria: