mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 12:47:28 +08:00
update wasm go sdk to tinygo 0.28.1 (#462)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ARG BUILDER=higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/wasm-go-builder:go1.19-tinygo0.25.0-oras1.0.0
|
||||
ARG BUILDER=higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/wasm-go-builder:go1.19-tinygo0.28.1-oras1.0.0
|
||||
FROM $BUILDER as builder
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ COPY . .
|
||||
WORKDIR /workspace/extensions/$PLUGIN_NAME
|
||||
|
||||
RUN go mod tidy
|
||||
RUN tinygo build -o /main.wasm -scheduler=none -target=wasi ./main.go
|
||||
RUN tinygo build -o /main.wasm -scheduler=none -gc=custom -tags='custommalloc nottinygc_finalizer' -target=wasi ./main.go
|
||||
|
||||
FROM scratch as output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user