xuxiaoweicomcn/debian-go 镜像

  • 登录 · 极狐GitLab

  • 在 Debian 容器内编译构建 kubernetes 时,需要指定版本的 go

  • 如果指定版本的 go 不存在时,会自动安装对应版本的 go

  • 为了防止在编译构建 kubernetes 时,由于网络等问题造成无法正常安装 go 的情况,所以才构建此镜像

    I don't have any idea what to do with '1.26.2'.
      (using download type 'auto')
    Can't find 'go' in PATH, please fix and retry.
    See http://golang.org/doc/install for installation instructions.
    !!! [0527 08:47:11] Call tree:
    !!! [0527 08:47:11]  1: hack/make-rules/build.sh:27 kube::golang::setup_env(...)
    make[2]: *** [Makefile:97: all] Error 1
    make[1]: *** [Makefile:481: cross-in-a-container] Error 1
    make: *** [Makefile:364: release-in-a-container] Error 2