百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

ko

> DevOps
开源

构建和部署 Go 应用程序

8.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

构建和部署 Go 应用程序

ko: Easy Go Containers


Google has applied for ko to join the Cloud Native Computing Foundation as a Sandbox project! Learn more here!

ko is a simple, fast container image builder for Go applications.

It's ideal for use cases where your image contains a single Go application without any/many dependencies on the OS base image (e.g., no cgo, no OS package dependencies).

ko builds images by effectively executing go build on your local machine, and as such doesn't require docker to be installed. This can make it a good fit for lightweight CI/CD use cases.

ko makes multi-platform builds easy, produces SBOMs by default, and includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.

Install ko and get started!

Acknowledgements

This work is based heavily on experience from having built the Docker and Kubernetes support for Bazel. That work was presented here.

Discuss

Questions? Comments? Ideas? Come discuss ko with us in the #ko-build channel on the Kubernetes Slack! See you there!

Community Meetings

You can find all the necessary details about the community meetings in this page.

Issues· 56 开放

查看全部 Issues在 GitHub 打开
  • #1597

    功能请求: 添加压缩级别配置选项

    lifecycle/stale更新于 2026年9月9日
  • #1620

    安全性: GOFLAGS 环境绕过 gobuild.go 中的 toolexec 检查

    lifecycle/stale更新于 2026年9月9日
  • #1739

    ko build -toolexec 选项标志,允许在 git 工作流程中使用

    更新于 2026年8月20日
  • #1709

    为不需要注册表的多平台构建添加 oci-archive 输出

    更新于 2026年7月15日
  • #1708

    docs: 文档 - tarball 不支持多平台图像

    更新于 2026年7月14日
  • #261

    查看 zig 以构建跨平台的 CGO

    help wantedgood first issuelifecycle/frozen更新于 2026年6月10日
  • #539

    在构建之前检查推送权限

    good first issuelifecycle/frozen更新于 2026年6月10日
  • #944

    可重命名的二进制文件/路径

    lifecycle/frozen更新于 2026年6月10日
  • #251

    允许 ko 层清晰堆叠

    help wantedlifecycle/frozen更新于 2025年11月12日
  • #643

    想法: 构建 .ko.yaml 中定义的所有图像

    lifecycle/frozen更新于 2024年5月22日

> 标签

Gocontainercontainersdeploydocker

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月19日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理