k8s-tutorials icon indicating copy to clipboard operation
k8s-tutorials copied to clipboard

package .: no Go files in /src

Open zhujuncheng123 opened this issue 3 years ago • 1 comments

这个问题是被墙了吗 ---> Running in b280d1dec6a1 package .: no Go files in /src The command '/bin/sh -c go build -o main .' returned a non-zero code: 1

zhujuncheng123 avatar Aug 30 '22 12:08 zhujuncheng123

不是。这个是哪个 tag 镜像的 build?Dockerfile 和 main.go 是放在同一个目录下吗,可以参考下 repository 的文件存放的位置

guangzhengli avatar Aug 30 '22 13:08 guangzhengli