mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix[GLIT-67]: update alpine version
This commit is contained in:
parent
d41aa33906
commit
89581c60d9
2 changed files with 8 additions and 5 deletions
|
|
@ -4,12 +4,14 @@ ENV LDFLAGS="-static"
|
|||
WORKDIR /build
|
||||
|
||||
FROM base as tests
|
||||
RUN git clone --depth 1 -b zkevm https://github.com/privacy-scaling-explorations/eth-tests.git /tests
|
||||
RUN git clone --depth 1 -b develop https://github.com/ethereum/tests.git /tests
|
||||
|
||||
FROM base AS retesteth
|
||||
RUN git clone --depth 1 -b develop https://github.com/ethereum/retesteth.git /retesteth
|
||||
RUN cmake /retesteth -DCMAKE_BUILD_TYPE=Release && make && cp retesteth/retesteth /target
|
||||
|
||||
# lllc compiles Lisp Like Language, an old Ethereum smart contract language that is still in use in tests.
|
||||
# Ref: https://github.com/ethereum/retesteth
|
||||
FROM alpine:3.13 AS lllc
|
||||
RUN apk add --no-cache alpine-sdk cmake linux-headers boost-dev boost-static
|
||||
ENV LDFLAGS="-static"
|
||||
|
|
@ -18,10 +20,11 @@ RUN git clone --depth 1 -b master https://github.com/winsvega/solidity.git /lllc
|
|||
RUN cmake /lllc -DCMAKE_BUILD_TYPE=Release -DLLL=1 && make lllc && cp lllc/lllc /target
|
||||
|
||||
FROM base AS solc
|
||||
RUN git clone --depth 1 -b v0.8.5 https://github.com/ethereum/solidity.git /solidity
|
||||
RUN git clone --depth 1 -b v0.8.24 https://github.com/ethereum/solidity.git /solidity
|
||||
RUN touch /solidity/prerelease.txt && cmake /solidity -DCMAKE_BUILD_TYPE=Release && make solc && cp solc/solc /target
|
||||
|
||||
FROM golang:1.18-alpine as geth
|
||||
# Ref: https://github.com/ethereum/go-ethereum/blob/master/Dockerfile
|
||||
FROM golang:1.21-alpine as geth
|
||||
RUN apk add --no-cache gcc musl-dev linux-headers git
|
||||
WORKDIR /go-ethereum
|
||||
COPY go.mod .
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@ ENV LDFLAGS="-static"
|
|||
WORKDIR /build
|
||||
|
||||
FROM base as tests
|
||||
RUN git clone --depth 1 -b zkevm https://github.com/privacy-scaling-explorations/eth-tests.git /tests
|
||||
RUN git clone --depth 1 -b develop https://github.com/ethereum/tests.git /tests
|
||||
|
||||
FROM base AS retesteth
|
||||
RUN git clone --depth 1 -b develop https://github.com/ethereum/retesteth.git /retesteth
|
||||
RUN cmake /retesteth -DCMAKE_BUILD_TYPE=Release && make && cp retesteth/retesteth /target
|
||||
|
||||
FROM golang:1.18-alpine as geth
|
||||
FROM golang:1.21-alpine as geth
|
||||
RUN apk add --no-cache gcc musl-dev linux-headers git
|
||||
WORKDIR /go-ethereum
|
||||
COPY go.mod .
|
||||
|
|
|
|||
Loading…
Reference in a new issue