Skip to content
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

[release] Force to use linux/amd64 to build release #4060

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

zymap
Copy link
Member

@zymap zymap commented Aug 28, 2023


Motivation

Because we have a Native IO that needs to be built from cpp code. The build platform will impact the target library. People are using different laptop to execute the release process with docker, we need to force the image to use linux/amd64 platform to ensure the .so lib build out the correct platform lib.
Since most of time we are using amd64 to run the bookie, making the dev docker image build from amd64.

Changes

Update the dev Dockerfile to use the specified platform.

---

### Motivation

Because we have a Native IO that needs to be built from
cpp code. The build platform will impact the target library.
People are using different laptop to execute the release
process with docker, we need to force the image to use
linux/amd64 platform to ensure the .so lib build out the
correct platform lib.
Since most of time we are using amd64 to run the bookie,
making the dev docker image build from amd64.
@zymap zymap added this to the 4.17.0 milestone Aug 28, 2023
@zymap zymap self-assigned this Aug 28, 2023
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@hangc0276 hangc0276 merged commit 5a47c1d into apache:master Aug 28, 2023
16 checks passed
zymap added a commit that referenced this pull request Aug 29, 2023
---

### Motivation

Because we have a Native IO that needs to be built from
cpp code. The build platform will impact the target library.
People are using different laptop to execute the release
process with docker, we need to force the image to use
linux/amd64 platform to ensure the .so lib build out the
correct platform lib.
Since most of time we are using amd64 to run the bookie,
making the dev docker image build from amd64.

(cherry picked from commit 5a47c1d)
zymap added a commit that referenced this pull request Dec 7, 2023
---

### Motivation

Because we have a Native IO that needs to be built from
cpp code. The build platform will impact the target library.
People are using different laptop to execute the release
process with docker, we need to force the image to use
linux/amd64 platform to ensure the .so lib build out the
correct platform lib.
Since most of time we are using amd64 to run the bookie,
making the dev docker image build from amd64.

(cherry picked from commit 5a47c1d)
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
---

### Motivation

Because we have a Native IO that needs to be built from
cpp code. The build platform will impact the target library.
People are using different laptop to execute the release
process with docker, we need to force the image to use
linux/amd64 platform to ensure the .so lib build out the
correct platform lib.
Since most of time we are using amd64 to run the bookie,
making the dev docker image build from amd64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants