Add files via upload

Alpine 3.8 with support to Go 1.10
This commit is contained in:
Samuel dos Santos 2018-08-11 07:00:58 +01:00 committed by GitHub
parent 8051a0768a
commit 131fa99d2b
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"]