A series of scripts I built so I can use containers as my primary development environment.
License: Apache-2.0
Templates for building compliant containers are located in this sister repository.
By default, dev_contain tries to call
buildah and
podman to build and run containers.
For dev_contain to use docker instead, set the environment variables
DEV_CONTAIN_BUILDER and DEV_CONTAIN_MANAGER to docker.
To use podman build to build containers, set DEV_CONTAINER_BUILDER to
podman.
pip3 install --user .
export PATH="~/.local/bin:$PATH"Always fix issues and modify the version number in the setup.py file before merging to master.
- Merge master to packaging.
- Modify change log by copying and pasting the last entry. Add and commit the change log.
- Install ansible:
sudo apt install ansible - Build and release:
ansible-playbook ./build.yaml -i inventory.yamlor just build:ansible-playbook ./build.yaml -i inventory.yaml --skip-tags "deploy"
Requires rpmbuild/fedora-packager.
dnf install rpm-build fedora-packager python3-devel
On CentOS8:
pip3 install --upgrade --user setuptools wheel
- Merge master to packaging/fedora.
- Update version number in spec file in the rpm directory.
- Run
rpm/build.bash. - Grab rpm from
/tmp/rpm/RPMS.