Adding build support for archs other than amd64#4439
Adding build support for archs other than amd64#4439openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
Hi @Pensu. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Hi @smarterclayton @stevekuznetsov, can you please review this? |
There was a problem hiding this comment.
In line no. 44 also we need to remove reference for amd64 for dep command download
There was a problem hiding this comment.
Do subshells work in a RUN? I think I might prefer to see a variable here like $VERSION for $ARCH
There was a problem hiding this comment.
@stevekuznetsov Yeah, subshells work in RUN. (Ref: https://github.com/docker-library/golang/blob/caca81426c40bd592bcfcde80485af80faedeb31/1.12/buster/Dockerfile#L17) However, I have updated the PR to store arch value in $ARCH variable and then use it for curl. Please let me know if that works. Will update other Dockerfiles as well. Thanks.
|
/ok-to-test We should merge this when we've got someone around to revert it in case something is wrong, as it's a broad change that's hard to test. |
|
Thanks @stevekuznetsov. Is there anyone whom we can talk to get this merged? |
|
Right now my team is in a face-to-face all week so I don't have the bandwidth to monitor if things go wrong after the merge -- @smarterclayton could you? Otherwise we should do it next week when I can. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Pensu, smarterclayton The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR removed hardcoded amd64 and allows the golang images to be built for the architecture where the build is running.