-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docker cross-platform builds (#10827)
* Disable CGO for op-node. Test cross-platform * Install latest gcp cli version before publishing docker image * Add oplabs-gcr context to docker-build job so it can publish * Do not save op-node docker image tag for devnet * Use TARGETARCH to conditionally set CC, CXX * Remove BUILDPLATFORM * Fix dangling && in dockerfile * Use apk instead of apt-get * Install correct apk cross build packages * Remove non-existent cross-build apk package * Use bullseye instead of alpine * Remove hardcoded CGO_ENABLED=0 * Set CC and CXX in makefile * Add echo to makefile * Remove echo from makefile * Remove check-cross-platform test * Remove default values for CC and CXX from makefile * Add TARGETOS and TARGETARCH to top of dockerfile * Remove echo from dockerfile * Use debian TARGET_BASE_IMAGE * Add cross platform args to all relevant Makefiles * Add temp circle ci job to publish and check-cross-platform * Set CGO_ENABLED=0. Use alpine for TARGET_BASE_IMAGE * Use CMD instead of ENTRYPOINT for op-supervisor-target image * Add CC, CXX, CGO_ENABLED args to op-plasma * Remove CC and CXX from Makefiles * Use alpine image for builder * scheduled-docker-publish trigger changed to hourly or manual * Fix circle ci config * Fix warnings in dockerfile * Attempt cross compile without setting CGO_ENABLED=0 * Add CGO_ENABLED=0 back for make op-node
- Loading branch information
1 parent
5be9141
commit 26eac67
Showing
13 changed files
with
96 additions
and
50 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
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
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
Oops, something went wrong.