-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Enabled multi-arch build for local development container builds #12217
Conversation
85b99a4
to
021e226
Compare
I'm not quite sure about his one: are we still building container images from this repo? The official ones are built using the -releases repo, not sure what this one here is for. |
@jpkrohling I can see the command |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
unreleased/docker-multi-arch.yaml
Outdated
component: otelcontribcol | ||
|
||
# A brief description of the change | ||
note: Compare changelog to common ancestor with main |
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.
Is this a placeholder text?
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.
Fixed, thanks @jpkrohling
unreleased/docker-multi-arch.yaml
Outdated
component: otelcontribcol | ||
|
||
# A brief description of the change | ||
note: Enabled multi-arch build for docker build |
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.
I think this might confuse readers. Can this state that this is for dev purposes?
note: Enabled multi-arch build for docker build | |
note: Enabled multi-arch build for local development container builds |
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.
Done
@gyliu513 I don't understand how this PR is supposed to fix #11873 and produce a multi arch image. Please correct me if I'm missing something, but looks like this PR just changed the make target to create a binary for the host OS/Arch and use it for the image. But the host OS is usually different (e.g. darwin) from the image OS (linux). This change just broke the make target. Docker image created with the image cannot be run anymore without setting
|
@dmitryax I think we already have |
Yes, and it's a host OS, not a target OS for the image |
Description:
Fixed #11873
Link to tracking Issue:
Testing:
Build on MacOS
Documentation: