In this chapter, you have learned how to adjust Dockerfile to be able to run in OpenShift. We also explained how to build applications from Dockerfile, how to use oc new-app to initiate a Docker build, and finally how to use oc start-build to start the new build from the existing build config.
In the following chapter, we are going to talk about the most frequently used application images that are already available on Docker Hub. But every now and then it is required to build a custom image that contains custom software or is aligned with company security policies/standards. We are going to learn how OpenShift automates the build process through the S2I build strategy, which is one of the main advantages of OpenShift, and how it allows you to build an image from your application's source code and then run it as a container.