Allow passing extra build flags to podman/docker #6421
Labels
area/odo-on-podman
Issues or PRs related to running odo against Podman
kind/user-story
An issue of user-story kind
priority/Medium
Nice to have issue. Getting it done before priority changes would be great.
sprint demo
Indicates an issue for which a demo should be recorded and presented at the end of the sprint.
Milestone
/kind user-story
User Story
As an odo user running Mac with AppleSilicon, I want to be able to build images for different platforms (amd64) So that I can run them on my cluster is amd64
Acceptance Criteria
odo deploy
andodo build-images
should check forODO_IMAGE_BUILD_ARGS
env variable and use it as additional arguments forpodman/docker build
odo run
should check forODO_CONTAINER_RUN_ARGS
env variable and use it as additional arguments forpodman/docker run
ODO_IMAGE_BUILD_ARGS
we should come up with a better name for this variable. As in the future, we will have in-cluster build where this variable won't make sense.ODO_CONTAINER_RUN_ARGS
come up with better name ;-)example:
ODO_IMAGE_BUILD_ARGS="--platform linux/amd64" odo deploy
should runpodman build --platform linux/amd64 ...
for discussion:
Or this could also be a cli flag for
odo build-images
andodo deploy
/kind user-story
The text was updated successfully, but these errors were encountered: