Repository navigation
Allow building a working Docker image when target architecture is arm64 - #12140
Merged
Merged
Conversation
gm42
force-pushed
the
feat/local-arm64-image-build-fixes
branch
from
May 9, 2025 10:17
a44fda6 to
908b71d
Compare
Collaborator
Author
|
cc @jzhou77 |
Contributor
Result of foundationdb-pr-clang-ide on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Contributor
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Contributor
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Contributor
Result of foundationdb-pr-cluster-tests on Linux RHEL 9
|
Contributor
Result of foundationdb-pr on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-clang on Linux RHEL 9
|
johscheuer
previously approved these changes
May 13, 2025
johscheuer
left a comment
Contributor
There was a problem hiding this comment.
Changes LGTM 👍 Just one recommendation.
Converted some ENV declaration to not trigger warnings
gm42
force-pushed
the
feat/local-arm64-image-build-fixes
branch
from
May 13, 2025 10:02
908b71d to
c580f01
Compare
Contributor
Result of foundationdb-pr-clang-ide on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Contributor
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Contributor
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Contributor
Result of foundationdb-pr-cluster-tests on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-clang on Linux RHEL 9
|
Contributor
Result of foundationdb-pr on Linux RHEL 9
|
jzhou77
approved these changes
May 14, 2025
| mv "$file" /usr/bin/ || exit $?; \ | ||
| done && \ | ||
| mkdir -p /var/fdb/lib && \ | ||
| for version in $FDB_LIBRARY_VERSIONS; do \ |
Collaborator
There was a problem hiding this comment.
I don't think we produce arm binaries for older versions like ( '6.3.25' '7.1.57' '7.3.37') mentioned in the build-images.sh script. So by default, the build would fail. Other than that, the PR looks good to me. Maybe at certain point we can remove old versions in the script.
Collaborator
Author
There was a problem hiding this comment.
I noticed that, in fact in my build I only put 7.3.63 there; will remove old versions in a future PR.
5 tasks done
3 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes introduce the possibility of building a working
arm64Docker image usingbuild-images.sh; a few further changes were necessary to get it to work, but I am submitting in this PR the minimum changes necessary.Code-Reviewer Section
Please check each of the following things and check all boxes before accepting a PR.