forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containers/docker: update dockerfile to build from nextyio/gonex (eth…
- Loading branch information
Showing
4 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:bionic | ||
|
||
ENV PATH=/usr/lib/go-1.9/bin:$PATH | ||
ENV PATH=/usr/lib/go-1.10/bin:$PATH | ||
|
||
RUN \ | ||
apt-get update && apt-get upgrade -q -y && \ | ||
apt-get install -y --no-install-recommends golang-1.9 git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 https://github.com/ethereum/go-ethereum && \ | ||
(cd go-ethereum && make geth) && \ | ||
cp go-ethereum/build/bin/geth /geth && \ | ||
apt-get remove -y golang-1.9 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /go-ethereum | ||
apt-get install -y --no-install-recommends golang-1.10 git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 https://github.com/nextyio/gonex && \ | ||
(cd gonex && make gonex) && \ | ||
cp gonex/build/bin/gonex /nexty && \ | ||
apt-get remove -y golang-1.10 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /gonex | ||
|
||
EXPOSE 8545 | ||
EXPOSE 30303 | ||
|
||
ENTRYPOINT ["/geth"] | ||
ENTRYPOINT ["/nexty"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:bionic | ||
|
||
ENV PATH=/usr/lib/go-1.9/bin:$PATH | ||
ENV PATH=/usr/lib/go-1.10/bin:$PATH | ||
|
||
RUN \ | ||
apt-get update && apt-get upgrade -q -y && \ | ||
apt-get install -y --no-install-recommends golang-1.9 git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 --branch release/1.8 https://github.com/ethereum/go-ethereum && \ | ||
(cd go-ethereum && make geth) && \ | ||
cp go-ethereum/build/bin/geth /geth && \ | ||
apt-get remove -y golang-1.9 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /go-ethereum | ||
apt-get install -y --no-install-recommends golang-1.10 git make gcc libc-dev ca-certificates && \ | ||
git clone --depth 1 --branch release/2.0 https://github.com/nextyio/gonex && \ | ||
(cd gonex && make gonex) && \ | ||
cp gonex/build/bin/gonex /nexty && \ | ||
apt-get remove -y golang-1.10 git make gcc libc-dev && apt autoremove -y && apt-get clean && \ | ||
rm -rf /gonex | ||
|
||
EXPOSE 8545 | ||
EXPOSE 30303 | ||
|
||
ENTRYPOINT ["/geth"] | ||
ENTRYPOINT ["/nexty"] |