# 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.
快撑死的鱼
- 粉丝: 1w+
- 资源: 9149
最新资源
- 技术资料分享第12章 视窗管理器(WM)很好的技术资料.zip
- 技术资料分享第12章很好的技术资料.zip
- 技术资料分享第13章 窗口对象(控件)很好的技术资料.zip
- 技术资料分享第14章 对话框很好的技术资料.zip
- 技术资料分享第15章 抗锯齿很好的技术资料.zip
- 技术资料分享第16章 Unicode很好的技术资料.zip
- 技术资料分享第17章 Shift-JIS支持很好的技术资料.zip
- 技术资料分享第18章 输入设备很好的技术资料.zip
- 技术资料分享第19章 与时间相关的函数很好的技术资料.zip
- 技术资料分享第20章 底层配置很好的技术资料.zip
- 技术资料分享第21章 高层次配置很好的技术资料.zip
- 技术资料分享第22章 LCD驱动程序很好的技术资料.zip
- 技术资料分享第23章 LCD驱动API函数很好的技术资料.zip
- 技术资料分享第24章 性能和资源占用很好的技术资料.zip
- 技术资料分享电脑游戏机硬件与编程特技很好的技术资料.zip
- 技术资料分享多核处理器构架的高速JPEG解码算法很好的技术资料.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈