Dockerfile: Add git dependency to Dockerfile (#3295)

pull/3297/head
Nick Johnson 8 years ago committed by Jeffrey Wilcke
parent 20eab80189
commit 87b8254da1
  1. 4
      Dockerfile

@ -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

Loading…
Cancel
Save