diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index be1d1ec01d..612d7a2385 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -40,5 +40,6 @@ jobs: context: . file: ./Dockerfile push: true + provenance: false tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index c502a0dcd4..6d20384ca6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ COPY go.sum /go-ethereum/ RUN cd /go-ethereum && go mod download ADD . /go-ethereum +ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__" +ENV CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__" RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth # Pull Geth into a second stage deploy alpine container