Purpose: Discuss, develop and disseminate best practices for building and maintaining redistributable Images for use in OpenShift and Kubernetes environments
Current content: Guidance for Docker Image Authors
New content: Container Best Practices
Operators / Administrators / People who have Root
to
Combines source repos and operationally-maintained builder images to produce application images
Available as a standalone project, for use with Jenkins or other external build processes: github.com/openshift/source-to-image
OpenShift S2I Guidelines: docs.openshift.org/latest/creating_images/s2i.html
My image standardization use-case:
Extend the existing openshift/base-centos7 image, adding node runtimes from nodejs.org:
Attempt to maintain established conventions from the official SCL-based image builder sources:
Developers can use "oc new-app" to combine NodeJS repo sources with operationally-maintained base images:
oc new-app ryanj/centos7-s2i-nodejs~https://github.com/ryanj/http-base
The oc command line tool is available on github
You can follow along with the OpenShift Origin Dev VM
Install a template into the current project, making these images (and all relevant tags) easier to reuse:
oc create -f https://raw.githubusercontent.com/ryanj/origin-s2i-nodejs/master/image-streams.json
Administrators can make these images available system-wide by adding them to the openshift namespace:
oc create -n openshift -f https://raw.githubusercontent.com/ryanj/origin-s2i-nodejs/master/image-streams.json
Join us on May 18th for the next Image Builder SIG meeting,
where Cristian Roldan from Produban will be presenting on:
CI/CD Workflows for Image Building