fix(wasm-go-build): correct the build command (#2799)

This commit is contained in:
xingpiaoliang
2025-08-21 09:47:30 +08:00
committed by GitHub
parent 9186b5505d
commit df20472f7b
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ WORKDIR /workspace/extensions/$PLUGIN_NAME
RUN go mod tidy
RUN \
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o /main.wasm ./
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o /main.wasm .
FROM scratch AS output