Dockerfile: Add git dependency to Dockerfile (#3295)
This commit is contained in:
parent
20eab80189
commit
87b8254da1
@ -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…
Reference in New Issue
Block a user