Docker baseimages for app deployment
This is a relatively small project.
I thought, that if I deploy my apps with docker, then I should also create the base container images for it. So I created a normal and slim version. Both of them feature the s6 supervisor and cron. The normal version also has some commonly used tools bundled with it.
S6 is really practical, because you can map the UID and GID of every service you run in your container. Also, the services are always supervised, so they will restart if they fail.
Later I also added a base version without the s6 supervisor for use cases which don’t require supervision of the application.
Snippet to map the UID and GID for the default user
abcin a docker-compose file
environment: - PUID= - PGID=