fc icon indicating copy to clipboard operation
fc copied to clipboard

s build & local invoke 需要支持下 go runtime

Open rsonghuster opened this issue 3 years ago • 3 comments

s build & local invoke 需要支持下 go runtime

rsonghuster avatar Nov 03 '21 07:11 rsonghuster

build --use-docker 暂时先不支持, 理论上来说,go 开发者,本地都安装 golang

mac & linux 用户可以使用如下命令完成编译:

GOOS=linux GOARCH=amd64 go build -o target

windows 用户使用如下命令完成编译:

SET GOOS=linux 
SET GOARCH=amd64
go build -o target

rsonghuster avatar Nov 03 '21 07:11 rsonghuster

https://github.com/aliyun/fc-docker 有关 go runtime 的增加, 由落泥or快帆 + 西流去完成

rsonghuster avatar Nov 04 '21 07:11 rsonghuster

s build 可以不考虑支持 go, 直接 actions 来完成 https://github.com/devsapp/start-fc

rsonghuster avatar Mar 29 '22 06:03 rsonghuster

和产品沟通, go build 后序不需要支持 但是需要补充文档

Ref https://github.com/devsapp/fc/issues/869

wss-git avatar Nov 04 '22 09:11 wss-git