ansible-community/ansible-bender
소개
ansible-playbook + buildah = 멋진 컨테이너 이미지
디자인 및 미디어What you can do
- You can build your container images with buildah as a backend.
- Ansible playbook is your build recipe.
- working directory
- environment variables
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalansible-bender
This tool bends containers using Ansible playbooks and turns them into container images. It has a pluggable builder selection — it is up to you to pick the tool which will be used to construct your container image. Right now the only supported builder is buildah. More to come in the future. Ansible-bender (ab) relies on Ansible connection plugins for performing builds.
tl;dr Ansible is the frontend, buildah is the backend.
The concept is described in following blog posts:
Looking for maintainers ❤
This project doesn't have an active maintainer right now that would watch issues daily.
If you are a user of ansible-bender and are familiar with Python, please consider becoming a maintainer.
Features
- You can build your container images with buildah as a backend.
- Ansible playbook is your build recipe.
- You are able to set various image metadata via CLI or as specific Ansible vars:
- working directory
- environment variables
- labels
- user
- default command
- exposed ports
- You can do volume mounts during build.
- Caching mechanism:
- Every task result is cached as a container image layer.
- You can turn this off with
--no-cache. - You can disable caching from a certain point by adding a tag
no-cacheto a task.
- You can stop creating new image layers by adding tag
stop-layeringto a task. - If an image build fails, it's committed and named with a suffix
-[TIMESTAMP]-failed(so you can take a look inside and resolve the issue). - The tool tries to find python interpreter inside the base image.
- You can push images you built to remote locations such as:
- a registry, a tarball, docker daemon, ...
- podman push is used to perform the push.
Documentation
You can read more about this project in the documentation:
관련 프로젝트 살펴보기
불러오는 중…