build: fix BAD BLOCK error for consensus v1 and Go v1.24 v1.25 (#1482)

Co-authored-by: wit <wit765765346@gmail>
This commit is contained in:
wit765 2025-09-12 09:52:52 +08:00 committed by GitHub
parent f234dd896e
commit 1da1b58e7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,7 @@
FROM golang:1.25-alpine AS builder
ENV GODEBUG=randseednop=0
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /XDPoSChain

View file

@ -1,5 +1,7 @@
FROM golang:1.25-alpine AS builder
ENV GODEBUG=randseednop=0
RUN apk add --no-cache make gcc musl-dev linux-headers
ADD . /XDPoSChain

View file

@ -1,5 +1,7 @@
FROM golang:1.25-alpine AS builder
ENV GODEBUG=randseednop=0
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /XDPoSChain

View file

@ -1,5 +1,7 @@
FROM golang:1.25-alpine AS builder
ENV GODEBUG=randseednop=0
RUN apk add make build-base linux-headers
COPY . /builder