mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-08 01:01:34 +00:00
Dockerfile: Add git dependency to Dockerfile (#3295)
This commit is contained in:
parent
20eab80189
commit
87b8254da1
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue