首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >函数服务go1运行环境里没有go?

函数服务go1运行环境里没有go?

提问于 2021-10-29 11:06:26
回答 1关注 0查看 454

scf_bootstrap的内容是

ls -al /var/lang/bin
/var/lang/go1/bin/go run .

日志输出是

START RequestId: 0fbaced7c073ee7efbe3dd3a6d84bec9
total 68
drwxr-xr-x 13 root root 4096 Aug  4 07:45 .
drwxr-xr-x  1 root root   45 Oct 29 02:51 ..
drwxr-xr-x  3 root root 4096 Aug 26  2020 bin
-rw-r--r--  1 root root  415 Aug 26  2020 ci_auto_shell.sh
-rw-r--r--  1 root root    8 Aug 26  2020 .gitignore
-rw-r--r--  1 root root   53 Aug 26  2020 .gitkeep
drwxr-xr-x  7 root root 4096 Dec  3  2020 java8
-rw-r--r--  1 root root 1346 Aug 26  2020 Makefile
drwxr-xr-x  6 root root 4096 Aug 26  2020 node10
drwxr-xr-x  6 root root 4096 Aug 26  2020 node12
drwxr-xr-x  7 root root 4096 Aug 26  2020 node4
drwxr-xr-x  7 root root 4096 Aug 26  2020 node6
drwxr-xr-x  7 root root 4096 Aug 26  2020 node8
drwxr-xr-x  7 root root 4096 Aug 26  2020 php5
drwxr-xr-x  8 root root 4096 Aug 26  2020 php7
drwxr-xr-x  8 root root 4096 Aug 26  2020 python2
drwxr-xr-x  6 root root 4096 Aug 26  2020 python3
-rw-r--r--  1 root root 2074 Aug 26  2020 README.md
/var/user/scf_bootstrap: line 5: /var/lang/go1/bin/go: No such file or directory
Init Report RequestId: 0fbaced7c073ee7efbe3dd3a6d84bec9 InitDuration: 3122ms Duration: 1153ms Memory: 64MB MemUsage: 0.05MB
ERROR RequestId: 0fbaced7c073ee7efbe3dd3a6d84bec9 Result: {"errorCode": -1, "errorMessage": "Failed to initialize the container. Please confirm that the container can be started locally.", "statusCode": 405}
END RequestId: 0fbaced7c073ee7efbe3dd3a6d84bec9
Report RequestId: 0fbaced7c073ee7efbe3dd3a6d84bec9 Duration: 0ms Memory: 64MB MemUsage: 0.05MB
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档