# witchery
Build distroless images with `apk`!
Witchery is a collection of tools which can be composed to build
distroless images. It is intended to be portable for use with
any package management tooling, but is primarily focused on apk-based
distributions at the moment, such as Alpine.
It is also designed to be easy to use with any other third-party
tooling in a fully composable fashion, e.g. with Docker.
## Features
### Uses native package manager to assemble the image
Your application payload is converted into an `apk` package or
equivalent. This allows for the use of the package manager to
assemble the image.
Where possible, witchery uses the pre-existing packaging tools
for a base distribution. For example, it uses `abuild` to generate
the `apk` package with your payload. This allows for leveraging
the automatic dependency generation features of `abuild` to
simplify the process of gathering dependencies.
### Friendly for use with Docker
Witchery is designed to be easy to use with Docker. Some examples
are available in the `examples/` directory.
## Tools
* **witchery-buildapk** - builds an APK out of an arbitrary
filesystem
* **witchery-compose** - composes an image, given a set of APKs,
package names, and repositories as inputs
## Caveats
You need to have a signing key generated to sign the intermediary
artifacts. Use `abuild-keygen -na` to get one.
## See Also
* [alpine-make-rootfs](https://github.com/alpinelinux/alpine-make-rootfs),
build Alpine rootfs with an installation script. Witchery's main difference
is that it can drive `abuild`, while alpine-make-rootfs requires dependencies
to be specified manually.
* Google's [distroless](https://github.com/GoogleContainerTools/distroless) project,
same concept as witchery, but with glibc, and the bazel build system.
没有合适的资源?快使用搜索试试~ 我知道了~
使用 alpine工具 构建 distroless镜像_Shell_代码_下载
共9个文件
dockerfile:3个
md:2个
c:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 22 浏览量
2022-06-15
18:32:45
上传
评论
收藏 6KB ZIP 举报
温馨提示
Witchery 是一组工具,可以组合成构建无发行版镜像。它旨在与任何包管理工具一起使用,但目前主要专注于基于 apk 的发行版,例如 Alpine。 它还被设计为易于以完全可组合的方式与任何其他第三方工具一起使用,例如与 Docker 一起使用。 特征 使用本机包管理器来组装图像 您的应用程序有效负载将转换为apk包或等效项。这允许使用包管理器来组装图像。 在可能的情况下,witchery 使用预先存在的打包工具进行基本分发。例如,它用于使用您的有效负载abuild生成apk包。这允许利用自动依赖生成功能abuild来简化收集依赖的过程。
资源推荐
资源详情
资源评论
收起资源包目录
witchery-master.zip (9个子文件)
witchery-master
Dockerfile 105B
witchery-compose 1KB
README.md 2KB
witchery-buildapk 3KB
examples
wget
Dockerfile 449B
hello-world
Dockerfile 1KB
hello-world.c 90B
COPYING.md 422B
Makefile 120B
共 9 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功