github.com/samgwo/go-ethereum@v1.8.2-0.20180302101319-49bcb5fbd55e/containers/docker/master-alpine/Dockerfile (about)

     1  FROM alpine:3.7
     2  
     3  RUN \
     4    apk add --update go git make gcc musl-dev linux-headers ca-certificates && \
     5    git clone --depth 1 --branch release/1.8 https://github.com/ethereum/go-ethereum && \
     6    (cd go-ethereum && make geth) && \
     7    cp go-ethereum/build/bin/geth /geth && \
     8    apk del go git make gcc musl-dev linux-headers && \
     9    rm -rf /go-ethereum && rm -rf /var/cache/apk/*
    10  
    11  EXPOSE 8545
    12  EXPOSE 30303
    13  
    14  ENTRYPOINT ["/geth"]