This is a template of a git repository which is a source for building container images.
There are two templates within this repository on two different branches:
-
master
— template for images with multiple versions -
single
— image with only one single version
LICENSE
— pick the right licenseMakefile
— so it's easy to build, run, testopenshift-template.yml
- general OpenShift template. A postfix template https://github.com/container-images/postfix/blob/master/openshift-template.yml- update it. It includes several commands what to update
README.md
— global documentation for the whole service- what is it, how to build, how to use
run_test.sh
— run tests of all images with a single scripthelp.md
- Container manual page. Use thego-md2man
command to convert it :go-md2man -in help.md -out help.man
Dockerfile
— default Dockerfile, should be based on Fedora now (will likely change in future)Dockerfile.$distro
— Dockerfile for other distro, should be also built by Makefileexamples/
— directory with examples that demonstrate the image functionality:- these examples should be ideally present in a form of documentation
- code samples are welcome too
files/
— this is the place where you should store configuration, helper scripts, etc.README.md
— version specific documentationtest/
— these tests should verify that the image works