Skip to content

Commit

Permalink
change: base docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
luka-ciric-ethernal committed Nov 18, 2024
1 parent b1176c7 commit 88c9ef8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions command/bridge/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

const (
gethConsoleImage = "stefanethernal/go-ethereum-console:v0.0.2"
gethConsoleImage = "0xethernal/go-ethereum-console:v0.0.1"
gethImage = "ethereum/client-go:v1.9.25"

defaultHostIP = "127.0.0.1"
Expand Down Expand Up @@ -166,13 +166,14 @@ func runExternalChain(ctx context.Context, outputter command.OutputFormatter, cl
image = gethImage
}

imageName := fmt.Sprintf("geth-external-chain-%d", params.chainID)
dockerfile := fmt.Sprintf("FROM %s\nEXPOSE %d\n", image, params.port)

buildContext, err := createBuildContext(dockerfile)
if err != nil {
return err
}

imageName := fmt.Sprintf("geth-external-chain-%d", params.chainID)
build, err := dockerClient.ImageBuild(ctx, buildContext, types.ImageBuildOptions{
Tags: []string{imageName},
})
Expand Down

0 comments on commit 88c9ef8

Please sign in to comment.