Merge pull request #2 from samueldossantos/samueldossantos-container-alpine3.8

Add files via upload
This commit is contained in:
Samuel dos Santos 2018-08-11 07:18:45 +01:00 committed by GitHub
commit ad3f54f3b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
alpine3.8/Dockerfile Normal file
View 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"]