mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Merge pull request #2 from samueldossantos/samueldossantos-container-alpine3.8
Add files via upload
This commit is contained in:
commit
ad3f54f3b6
1 changed files with 32 additions and 0 deletions
32
alpine3.8/Dockerfile
Normal file
32
alpine3.8/Dockerfile
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
FROM alpine:3.8
|
||||||
|
|
||||||
|
RUN apk add --no-cache --update \
|
||||||
|
ca-certificates \
|
||||||
|
gcc \
|
||||||
|
git \
|
||||||
|
go \
|
||||||
|
linux-headers \
|
||||||
|
make \
|
||||||
|
musl-dev
|
||||||
|
|
||||||
|
|
||||||
|
RUN git clone --depth 1 https://github.com/ethereum/go-ethereum &&\
|
||||||
|
cd go-ethereum &&\
|
||||||
|
make geth &&\
|
||||||
|
cp go-ethereum/build/bin/geth /geth
|
||||||
|
|
||||||
|
|
||||||
|
RUN apk del \
|
||||||
|
gcc \
|
||||||
|
git \
|
||||||
|
go \
|
||||||
|
linux-headers \
|
||||||
|
make \
|
||||||
|
musl-dev &&\
|
||||||
|
rm -rf /go-ethereum &&\
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
EXPOSE 8545
|
||||||
|
EXPOSE 30303
|
||||||
|
|
||||||
|
ENTRYPOINT ["/geth"]
|
||||||
Loading…
Reference in a new issue