• Sam Stokes's avatar
    Fix docker cross-platform builds (#10827) · 26eac671
    Sam Stokes authored
    * 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
    26eac671
Makefile 1.15 KB