Dockerfile: Add git dependency to Dockerfile (#3295)

This commit is contained in:
Nick Johnson 2016-11-17 14:38:14 +00:00 committed by Jeffrey Wilcke
parent 20eab80189
commit 87b8254da1

View File

@ -2,10 +2,10 @@ FROM alpine:3.3
ADD . /go-ethereum ADD . /go-ethereum
RUN \ RUN \
apk add --update go make gcc musl-dev && \ apk add --update git go make gcc musl-dev && \
(cd go-ethereum && make geth) && \ (cd go-ethereum && make geth) && \
cp go-ethereum/build/bin/geth /geth && \ cp go-ethereum/build/bin/geth /geth && \
apk del go make gcc musl-dev && \ apk del git go make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/* rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545 EXPOSE 8545