Wasm Builders 🧱

Discussion on: Deploy a Sat Serverless function with to Fly.io

Collapse
 
hb9cwp profile image
Rolf Sommerhalder

Thanks for your great post! I took it as an example to learn about Fly.io and WebAssembly with Go.
After a first iteration over at community.fly.io [1], I hope the friendly and very active community there will help me to bake your manual steps further into a Dockerfile so that a simple 'flyctl launch' builds remotely on Fly and runs it.
[1] WASM runtime|platform? community.fly.io/t/wasm-runtime-pl...

Collapse
 
k33g_org profile image
Philippe Charrière

I think it's possible, but complicated because you will need the subo CLI to build the Runnable module. And the subo CLI uses Docker too, so you will do Docker in Docker.
But you can probably avoid this by using the --native flag of the subo CLI.

For the building step in the Dockerfile, you will need Go + TinyGo + the subo CLI.