$ sudo yum -y update
$ sudo yum -y install golang
$ sudo yum -y install gmp-devel
$ sudo yum -y install git
$ git clone https://github.com/ethereum/go-ethereum
$ cd go-ethereum/
$ make geth
$ ls -al build/bin/geth
This file has been truncated, but you can view the full file.
This file contains hidden or 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
diff --git a/Dockerfile b/Dockerfile | |
index e87dd35d3..4b205d649 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -1,5 +1,5 @@ | |
# Build Geth in a stock Go builder container | |
-FROM golang:1.11-alpine as builder | |
+FROM golang:1.12-alpine as builder | |
This file contains hidden or 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
Building | |
$ sudo yum install golang | |
$ sudo yum install gmp-devel | |
$ git clone https://github.com/ethereum/go-ethereum | |
$ cd go-ethereum/ | |
$ make geth | |
$ ls -al build/bin/geth | |
Running |