This section will guide you through a very simple example.
image.yaml
file. It is recommended to use the image.yaml
naming scheme.name: my-example
version: 1.0
from: centos:7
description
tag e.g.description: My Example Tomcat Image
While this configuration will build in CEKit it isn’t very interesting as it will simply create another image layered on top of CentOS 7. The descriptor should now look like:
name: my-example
version: 1.0
from: centos:7
description: My Example Tomcat Image
It is possible to directly add further content to the image at this point through a variety of methods. Labels, ports, packages etc can be used - see here. In general modules are used as the ‘building blocks’ to assemble the image - they can be used as individual libraries or shared blocks across multiple images. So, move onto to modules to discover more about these.