以简洁的形式进行完备的 Docker 构建:shutit
jopen
10年前
shutit以简洁的形式进行完备的 Docker 构建。让复杂的 Docker 构建变得简单。
ShutIt管理您的构建过程,是结构化和灵活的工具:Structured:
- Modular structure
- Manages the startup and setup of your container ready for the build
- Has a lifecycle that can manage different parts of the lifecycle, eg:
- Pre-requisites check
- "Already installed?" check
- Gather config
- Start module
- Stop module
- Test module
- Finalize container
- Allows you to set config
- Allows you to manage modules per distro (if needed)
- Forces you to define an order for the modules
- Puts record of build process into container
- Enables continuous regression testing
Flexible:
- Modules model shell interactions, with all the freedom and control that implies
- Modules can be plugged together like legos
- GUI allows to you build and download images for your own needs (see http://shutit.tk)
- Module scripts are in python, allowing full language control
- Many helper functions for common interaction patterns
- Can pause during build or on error to interact, then continue with build