Releases: ansible-community/ansible-bender
Releases · ansible-community/ansible-bender
0.5.0
0.5.0
Breaking changes
- Option
--labels
was renamed to--label
to match other container tooling.
Features
- Ansible-bender can now be configured using Ansible variables. For more info,
please read the documentation- Given this change, base image and target image name are now optional
arguments of thebuild
command.
- Given this change, base image and target image name are now optional
- Bender now uses more candidates when searching for python interpreter in the
base image, namely/usr/bin/python3.7
and so on. - You can now set annotations on the target image.
- When bender invokes a playbook against a container, it now changes hosts
variable (in a copy), so that it's not accidentally executed in localhost
environment. - Json schema is now used to validate input.
- Before starting the build process, bender checks if the container backend
works.
Bug fixes
- When ansible-playbook command uses python 2, bender refuses to continue since
the build will not work. - Errors are now being properly logged when bender looks for python interpreter
in the base image. - There was a need for a compatibility fix with buildah 1.7.
- A build will terminate if there was an exception thrown during the caching or
layering process. - Bender will not try to load non-existent layers from cache.
0.4.0
0.4.0
Ansible-bender now uses Azure Pipelines as a CI system.
Features
- There were updates to documentation in README:
- Info about vfs and overlay buildah storage backends.
- Rootless containers.
- How you can use base images with python2.
- Requirements of ansible-bender.
- Bender now produces a more clear message when a base image doesn't have a
python interpreter. - You are now able to pass path to the python interpreter inside the base image
via CLI.
Bug fixes
- Bender now uses more buildah commands instead of podman.
- If bender is invoked with a non-root user, the ansible-playbook session is
now wrapped withbuildah unshare
. - Don't print to error log when an image is being pulled.
0.3.2
0.3.2
I experimented with running ansible-bender inside an OpenShift pod. Details can
be found in a Makefile and in the contrib/
directory.
Bug fixes
- Ansible-bender is now able to pull base images properly again if they are not
present before a build. podman
is now used to performinspect
.- Working container name was improved to be more safe.
0.3.1
0.3.0
0.2.1
0.2.0
See changelog.md.
0.1.0
Initial release!
Features
- You can build your container images with buildah as a backend.
- You are able to set various image metadata via CLI:
- working directory
- environment variables
- labels
- user
- default command
- exposed ports
- You can do volume mounts during build.