Skip to content

Commit 12ae24b

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 ade3f50 commit 12ae24b

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
@@ -230,6 +230,10 @@ type WebsocketProxy struct {
230230
func (w *WebsocketProxy) Apply(ctx *ExContext) *Component {
231231
component := NewComponent("webproxy")
232232

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

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

0 commit comments

Comments
 (0)