mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Merge 2554b01629 into fb81bc3291
This commit is contained in:
commit
b61e2c5f80
2 changed files with 6 additions and 4 deletions
|
|
@ -1,12 +1,13 @@
|
|||
FROM alpine:3.4
|
||||
|
||||
RUN \
|
||||
apk add --update go git make gcc musl-dev && \
|
||||
apk add --update go git make gcc musl-dev binutils && \
|
||||
git clone https://github.com/ethereum/go-ethereum && \
|
||||
(cd go-ethereum && git checkout develop) && \
|
||||
(cd go-ethereum && make geth) && \
|
||||
cp go-ethereum/build/bin/geth /geth && \
|
||||
apk del go git make gcc musl-dev && \
|
||||
strip /geth && \
|
||||
apk del go git make gcc musl-dev binutils && \
|
||||
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
|
||||
|
||||
EXPOSE 8545
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
FROM alpine:3.4
|
||||
|
||||
RUN \
|
||||
apk add --update go git make gcc musl-dev && \
|
||||
apk add --update go git make gcc musl-dev binutils && \
|
||||
git clone https://github.com/ethereum/go-ethereum && \
|
||||
(cd go-ethereum && make geth) && \
|
||||
cp go-ethereum/build/bin/geth /geth && \
|
||||
apk del go git make gcc musl-dev && \
|
||||
strip /geth && \
|
||||
apk del go git make gcc musl-dev binutils && \
|
||||
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
|
||||
|
||||
EXPOSE 8545
|
||||
|
|
|
|||
Loading…
Reference in a new issue