Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.
This repository was archived by the owner on Apr 30, 2024. It is now read-only.

Can't use docker/fast-build.Dockerfile in Github Actions #68

@jbowen93

Description

@jbowen93

Cross compiling from amd64 to arm64 using --platform=$BUILDPLATFORM and RUN env GOOS=$TARGETOS GOARCH=$TARGETARCH make build no longer works

 > [linux/amd64->arm64 build-env 7/7] RUN env GOOS=linux GOARCH=arm64 LEDGER_ENABLED=false make build:
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/dbgsockettransport.go:34:15: undefined: DebugDetachedFunc
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/timers.go:11:10: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/timers.go:30:10: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/timers.go:37:20: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/timers.go:63:22: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected]/timers.go:63:22: too many errors
#30 155.0 # github.com/tharsis/ethermint/app/ante
Error: #30 155.0 app/ante/eip712.go:238:26: undefined: secp256k1.RecoverPubkey
Error: #30 155.0 app/ante/eip712.go:264:7: undefined: secp256k1.VerifySignature
#30 196.5 make: *** [Makefile:116: build] Error 2

It last worked here https://github.com/celestiaorg/ethermint/blob/ab54a13d66688401393db06913e283842f952b99/docker/Dockerfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions