mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
14 lines
399 B
Docker
14 lines
399 B
Docker
FROM alpine:3.5
|
|
|
|
RUN \
|
|
apk add --update go git make gcc musl-dev linux-headers ca-certificates && \
|
|
git clone --depth 1 https://github.com/expanse-org/go-expanse && \
|
|
(cd go-expanse && make gexp) && \
|
|
cp go-expanse/build/bin/gexp /gexp && \
|
|
apk del go git make gcc musl-dev linux-headers && \
|
|
rm -rf /go-expanse && rm -rf /var/cache/apk/*
|
|
|
|
EXPOSE 9656
|
|
EXPOSE 42786
|
|
|
|
ENTRYPOINT ["/gexp"]
|