Skip to content
No description, website, or topics provided.
Python Dockerfile Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files copy v1.4.3326 systemctl.py Aug 18, 2019
roles
.gitignore igno file May 26, 2018
EUPL-LICENSE.md add license May 27, 2018
Makefile make here to copy docker_distro_packages_mirror roles Oct 24, 2019
README.md base readme May 27, 2018
ansible-sudo.yml 0o755.. Aug 30, 2018
centos-cntlm-user.dockerfile centos-cntlm-user.dockerfile test_775 Aug 18, 2019
centos-cntlm.dockerfile centos-cntlm-user.dockerfile test_775 Aug 18, 2019
centos-elasticsearch-setup.ini use testdir and save systemctl.log where possible Jun 9, 2018
centos-elasticsearch-setup.yml test_751 centos-elasticsearch-setup.yml May 27, 2018
centos-elasticsearch.dockerfile
centos-httpd-not-user.dockerfile
centos-httpd-user.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-httpd.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-lamp-stack.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-postgres-user.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-postgres.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-sshd.dockerfile test_778 centos-sshd.dockerfile Sep 27, 2019
centos-tomcat-user.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
centos-tomcat.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
docker-build-compose-with-repo.yml fix test_9xx Sep 5, 2018
docker-build-compose.ini renmae testsuite.py to testbuilds.py May 27, 2018
docker-build-compose.yml take over from docker-systemctl-replacement/tests May 26, 2018
docker-build-stop.yml take over from docker-systemctl-replacement/tests May 26, 2018
docker-build-systems.yml docker-build-playbook.yml -> docker-build-systems.yml Sep 29, 2019
docker-build.playbook.yml show docker-build with playbook to start/commit build containers Sep 29, 2019
docker-start-compose.ini
docker-start-compose.yml fix test_9xxx series, add support for build-compose-with-repo Aug 30, 2018
docker-start-systems.yml docker-build-playbook.yml -> docker-build-systems.yml Sep 29, 2019
download-firefox.yml take over from docker-systemctl-replacement/tests May 26, 2018
download-jenkins.yml take over from docker-systemctl-replacement/tests May 26, 2018
download-selenium.yml fix download by validate_certs false May 27, 2018
elasticsearch.centos.7.3.sh elasticsearch.playbook.yml for different centos docker_distro_version… Sep 28, 2019
elasticsearch.centos.7.4.sh elasticsearch.playbook.yml for different centos docker_distro_version… Sep 28, 2019
elasticsearch.centos.7.5.sh
elasticsearch.playbook.yml cleanup build-containers automatically Sep 29, 2019
opensuse-lamp-stack.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019
requirements.txt dependency graph support Sep 10, 2018
testbuilds.py docker-build-playbook.yml -> docker-build-systems.yml Sep 29, 2019
ubuntu-apache2.dockerfile user ARG and reformat dockerfiles for testsbuilds.py Aug 18, 2019

README.md

docker systemctl images

This project will use the docker-systemctl-replacement script to build realistic images of common software into a systemd controlled distribution.

See https://github.com/gdraheim/docker-systemctl-replacement

History

Using a ansible and a dockerfile to build images of common software did even exist before the testsuite.py of the original docker-systemctl-replacement project was created. Just a couple of Makefile lines were used start and stop the necessary containers and images.

In version 1.0 of docker-systemctl-replacement these parts were integrated into the testsuite.py where they were now named test_6xxx (later test_7xxx) for the dockerfile based tests and test_9xxxx for the ansible based test scenarios. When moving to version 1.3 of docker-systemctl-replacement these parts were cut out into a separate project on github named docker-systemctl-images.

In the docker-systemctl-replacement project the resulting images were just temporary while docker-systemctl-images will keep the results. These may be used directly for further usage in other projects. The tests on the images are still performed and in general they run before the output image is tagged on its 'savename'. As such the script is not called testbuilds.py

Overview

The main targets are webservers and databases as being the basis of other projects. The big free distros like centos and ubuntu are generally the most common target here.

The original author of docker-systemctl-replacement is commonly using the systemctl.py script along with ansible as the software deployments but allow to provision on a real machine or a docker container. The first example here is a Jenkins setup.

The author

Guido Draheim is working as a freelance consultant for multiple big companies in Germany. This project is related to the current surge of DevOps topics which often use docker as a lightweight replacement for cloud containers or even virtual machines. It makes it easier to test deployments in the standard build pipelines of development teams.

You can’t perform that action at this time.