-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable compilation on linux/arm64 platforms (#3557)
* Add -buildvcs=false for ccaasbuilder After #3315 was merged, the -buildvcs=false flag was mistakenly removed, this commit fixes the change and adds it back. Signed-off-by: Artem Barger <artem@bargr.net> * Enable compilation on linux/arm64 platforms While building the peer docker image the location of the ccaasbuilder binaries was hardcoded into the Dockerfile, though the output directory is platform dependent. Therefore this commit suggest two changes: 1. Prepare binary location based on the architecture and copy them into the temporal location, hence it will become possible to generalize file location inside Dockerfile 2. Suggest static binaries compilation, to include all dependent libraries in compile time, turns out there are different set of libraries between alpine:${ALPINE_VER} and golang:${GO_VER}-alpine${ALPINE_VER} docker images which cause peer to segfault on ARM64 based platforms. Signed-off-by: Artem Barger <artem@bargr.net>
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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