File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ FROM alpine:3.3
2
+
3
+ ADD . /go-ethereum
4
+ RUN \
5
+ apk add --update go make gcc musl-dev && \
6
+ (cd go-ethereum && make geth) && \
7
+ cp go-ethereum/build/bin/geth /geth && \
8
+ apk del go make gcc musl-dev && \
9
+ rm -rf /go-ethereum && rm -rf /var/cache/apk/*
10
+
11
+ EXPOSE 8545
12
+ EXPOSE 30303
13
+
14
+ ENTRYPOINT ["/geth" ]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM alpine:3.4
2
2
3
3
RUN \
4
4
apk add --update go git make gcc musl-dev && \
5
- git clone --depth 1 --branch develop https://github.com/ethereum/go-ethereum && \
5
+ git clone --depth 1 https://github.com/ethereum/go-ethereum && \
6
6
(cd go-ethereum && make geth) && \
7
7
cp go-ethereum/build/bin/geth /geth && \
8
8
apk del go git make gcc musl-dev && \
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM alpine:3.4
2
2
3
3
RUN \
4
4
apk add --update go git make gcc musl-dev && \
5
- git clone --depth 1 https://github.com/ethereum/go-ethereum && \
5
+ git clone --depth 1 --branch release/1.5 https://github.com/ethereum/go-ethereum && \
6
6
(cd go-ethereum && make geth) && \
7
7
cp go-ethereum/build/bin/geth /geth && \
8
8
apk del go git make gcc musl-dev && \
You can’t perform that action at this time.
0 commit comments