All Projects → andrealbinop → Dockerfiles

andrealbinop / Dockerfiles

Licence: mit
This repository contains all base Dockerfiles for Docker that I use, and are available at Docker registry.

Dockerfiles

This repository contains all base Dockerfiles for Docker that I used, published to Docker registry.

List of base images

Development

This section cover information to anyone who may contribute to this project, or wants to tweak it for its own uses.

Template-based images

For maintainability some base images are created using templates. For instance:

  • Tomcat

These images are based in docker-template project. It provides the infrastructure, parsing e generation of the Dockerfiles based in [ERB] templates. It also uses variables defined in opts.yml files to drive the templated data. For details about how to write images based in docker-template, see docker-template wiki, as its example projects jekyll-docker and envygeeks-docker.

Docker-template is not meant to handle the images as we do here. More than just processing the templates, it focus in building and pushing directly the images. We use it only as an engine to parse our templates, but we keep the resulting Dockerfiles. As we use webhooks to trigger images build and push to Docker Hub. To fill the gap, we use the docker-template-wrapper, a shell script wrapper around docker-template that allow us to manage the images just as we do here.

See docker-template-wrapper README to know how to use it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].