/gsoc

Primary LanguageWebAssembly

gsoc-knative

There are two different dockerfile available

v1. Wasm Running in the Go Container

  • Runs the WebAssembly module in a Go container with a web server.
  • Exposes functionality using JavaScript glue code.

  • Status: go module Error & Range Error at parseJSON
  • Dockerfile: hong0331/wasm-app-with-js
  • Command: docker run -p 8080:8080 hong0331/wasm-app-with-js

image

v2. Wasm Container

  • Runs the WebAssembly module directly in a WebAssembly runtime container.
  • Displays parsed JSON by rendering the logs from the container.

  • Status: ✅ Running
  • Dockerfile: hong0331/my-go-app
  • Command: docker run --runtime=io.containerd.wasmtime.v1 hong0331/my-go-app

image