Skip to content

Commit

Permalink
Pull console precompile Geth docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Nov 23, 2022
1 parent ce656f0 commit b39447c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions command/rootchain/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ import (
)

const (
imageName = "ethereum/client-go"
imageTag = "v1.9.25"
// imageName = "ethereum/client-go"
// imageTag = "v1.9.25"
imageName = "go-ethereum-console"
imageTag = "latest"
defaultHostIP = "127.0.0.1"
defaultHostPort = "8545"
)
Expand Down Expand Up @@ -130,7 +132,9 @@ func runRootchain(ctx context.Context, outputter command.OutputFormatter, closeC
}

// try to pull the image
reader, err := dockerClient.ImagePull(ctx, "docker.io/"+imageName+":"+imageTag, dockertypes.ImagePullOptions{})
reader, err := dockerClient.ImagePull(ctx,
"ghcr.io/0xpolygon/go-ethereum-console:latest", dockertypes.ImagePullOptions{})
// reader, err := dockerClient.ImagePull(ctx, "docker.io/"+imageName+":"+imageTag, dockertypes.ImagePullOptions{})
if err != nil {
return err
}
Expand Down

0 comments on commit b39447c

Please sign in to comment.