Skip to content

Commit d57eed6

Browse files
committed
Add build instructions for amd64-only container images
Add comments documenting that proxyd and websocket-proxy images are amd64-only, with instructions for building from source on other architectures and using --override flags.
1 parent d75fc2e commit d57eed6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

playground/components.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ type WebsocketProxy struct {
228228
func (w *WebsocketProxy) Apply(ctx *ExContext) *Component {
229229
component := NewComponent("webproxy")
230230

231+
// NOTE: The mikawamp/websocket-rpc image is amd64-only.
232+
// For other architectures, build from https://github.com/flashbots/rollup-boost with:
233+
// docker build --build-arg SERVICE_NAME=flashblocks-websocket-proxy -t websocket-proxy:<tag> .
234+
// and use: --override websocket-proxy=websocket-proxy:<tag>
231235
component.NewService("websocket-proxy").
232236
WithImage("docker.io/mikawamp/websocket-rpc").
233237
WithTag("latest").
@@ -628,6 +632,10 @@ type Proxyd struct {
628632
func (p *Proxyd) Apply(ctx *ExContext) *Component {
629633
component := NewComponent("proxyd")
630634

635+
// NOTE: The upstream OP Labs proxyd image is amd64-only.
636+
// For other architectures, build from https://github.com/ethereum-optimism/infra with:
637+
// docker build -t proxyd:<tag> -f proxyd/Dockerfile .
638+
// and use: --override proxyd=proxyd:<tag>
631639
component.NewService("proxyd").
632640
WithImage("us-docker.pkg.dev/oplabs-tools-artifacts/images/proxyd").
633641
WithTag("latest").

0 commit comments

Comments
 (0)