After reading Michael Crosby’s Dockerfile best Practises I’ve rebuild my basic Dockerfile. All my Docker images are trusted nature and you can look inside and even fork them on GitHub (Don’t be shy to comment if you see improvement potential). Let’ me here present some of them.
Docker Java images
Docker generalist image
The above images are targeting the microservices approach, where μ is taken seriously and the docker container tends to have only one function (or Linux process). My generalist image doesn’t follow this paradigm strictly.
debian_openssh_supervisord is a good point to start multi-service docker container. SSH Server is included and supervisord enables simple management of services inside of the container.2
I appreciate your feedback on my Dockerfiles.