mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Merge pull request #1590 from XinFinOrg/fix-docker-default-env
fix: add default env to runtime image
This commit is contained in:
commit
e4ee00adf0
4 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,5 @@
|
|||
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
|
||||
|
|
@ -9,6 +7,8 @@ RUN cd /XDPoSChain && make XDC
|
|||
|
||||
FROM alpine:latest
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
WORKDIR /XDPoSChain
|
||||
|
||||
COPY --from=builder /XDPoSChain/build/bin/XDC /usr/local/bin/XDC
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
FROM golang:1.25-alpine AS builder
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
RUN apk add --no-cache make gcc musl-dev linux-headers
|
||||
|
||||
ADD . /XDPoSChain
|
||||
|
|
@ -13,6 +11,8 @@ FROM alpine:latest
|
|||
|
||||
LABEL maintainer="etienne@XDPoSChain.com"
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
WORKDIR /XDPoSChain
|
||||
|
||||
COPY --from=builder /XDPoSChain/build/bin/bootnode /usr/local/bin/bootnode
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
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
|
||||
|
|
@ -12,6 +10,8 @@ RUN cd /XDPoSChain \
|
|||
|
||||
FROM alpine:latest
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
WORKDIR /XDPoSChain
|
||||
|
||||
COPY --from=builder /XDPoSChain/build/bin/XDC /usr/local/bin/XDC
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
FROM golang:1.25-alpine AS builder
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
RUN apk add make build-base linux-headers
|
||||
|
||||
COPY . /builder
|
||||
|
|
@ -22,6 +20,8 @@ RUN cd /builder && make && mv /builder/build/bin/XDC /builder/build/bin/XDC-loca
|
|||
# The runtime image
|
||||
FROM alpine:3
|
||||
|
||||
ENV GODEBUG=randseednop=0
|
||||
|
||||
WORKDIR /work
|
||||
|
||||
RUN apk add --no-cache bash curl
|
||||
|
|
|
|||
Loading…
Reference in a new issue