OpenShift provides the build process to build an image from source code. The following are build strategies that you can follow to build images:
- Docker build: In this, users will supply to Docker context (Dockerfile and support files), which can be used to build images. OpenShift just triggers the docker build command to create the image.
- Source-to-image (S2I) build: In this, the developer defines the source code repository and the builder image, which defines the environment used to create the app. S2I then uses the given source code and builder image to create a new image for the app. More details about S2I can be found at https://github.com/openshift/source-to-image.
- Custom build: This is similar to the Docker build strategy, but users might customize the builder image that will be used for build execution.
In...