go-ethereum/alpine3.8/Dockerfile
Samuel dos Santos c6879b32d0
Add files via upload
Remove the ENV variable from the Dockerfile. Fix Dockerfile for alpine3.8
2018-08-12 10:52:26 +01:00

30 lines
1.5 KiB
Docker

FROM alpine:3.8
RUN apk add --no-cache --update \
ca-certificates \
gcc \
git \
go \
linux-headers \
make \
musl-dev &&\
#Clone
git clone --depth 1 https://github.com/ethereum/go-ethereum &&\
cd /go-ethereum &&\
make geth &&\
cp /go-ethereum/build/bin/geth /geth &&\
#CleanUp
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"]