@@ -35,18 +35,20 @@ func (ctx *metricHttpContext) OnHttpRequestHeaders(int, bool) types.Action {
35
35
36
36
### requirements
37
37
38
- proxy-wasm-go-sdk depends on the latest TinyGo which supports WASI target([ tinygo-org/tinygo #1373 ] ( https://github.com/tinygo-org/tinygo/pull/1373 ) ).
39
- In order to install that, simply run (Ubuntu/Debian):
38
+ proxy-wasm-go-sdk depends on TinyGo's latest [ dev branch] ( https://github.com/tinygo-org/tinygo/tree/dev ) which supports WASI target([ tinygo-org/tinygo #1373 ] ( https://github.com/tinygo-org/tinygo/pull/1373 ) )
39
+ and has yet to be tagged.
40
+
41
+ In order to install that version of TinyGo, simply run (Ubuntu/Debian):
40
42
41
43
``` shell
42
44
# this corresponds to https://github.com/tinygo-org/tinygo/commit/f50ad3585d084b17f7754f4b3cb0d42661fee036
43
45
wget https://19227-136505169-gh.circle-artifacts.com/0/tmp/tinygo_amd64.deb
44
46
dpkg -i tinygo_amd64.deb
45
47
```
46
48
47
- Alternatively, you can use the pre-built docker container ` getenvoy/extention-tingyo-builder:wasi- dev` for any platform.
49
+ Alternatively, you can use the pre-built docker container ` tinygo/tinygo- dev:latest ` for any platform.
48
50
49
- TinyGo's official release of WASI target will come soon, and after that you could
51
+ TinyGo's official tagged release of WASI target will come soon, and after that you could
50
52
just follow https://tinygo.org/getting-started/ to install the requirement on any platform. Stay tuned!
51
53
52
54
@@ -63,9 +65,11 @@ TinyGo's official release of WASI target will come soon, and after that you coul
63
65
build:
64
66
65
67
``` bash
66
- make build.examples # build all examples
68
+ make build.examples # build all examples
69
+ make build.examples.docker # in docker
67
70
68
- make build.example name=helloworld # build a specific example
71
+ make build.example name=helloworld # build a specific example
72
+ make build.example.docker name=helloworld # in docker
69
73
```
70
74
71
75
run:
0 commit comments