go-ethereum/Dockerfile

14 lines
379 B
Docker

FROM alpine:3.5
ADD . /go-ubiq
RUN \
apk add --update git go make gcc musl-dev linux-headers && \
(cd go-ubiq && make gubiq) && \
cp go-ubiq/build/bin/gubiq /gubiq && \
apk del git go make gcc musl-dev linux-headers && \
rm -rf /go-ubiq && rm -rf /var/cache/apk/*
EXPOSE 8588
EXPOSE 30388
ENTRYPOINT ["/gubiq"]