As we saw before, OpenShift can build an application from Dockerfile. Sometimes, application source code is updated and there is a need to initiate the build process again using the new source code. OpenShift supports this functionality through the oc start-build command.
During this section, we will initiate a build process using the new source code of the application using the image stream created recently by the oc new-app command.
We built a Redis application from source code using a specific directory 3.0.
The source code contains another Dockerfile, which uses the newer version 4.0:
$ tree redis/4.0/redis/4.0/âââ 32bitâ âââ docker-entrypoint.shâ âââ Dockerfileâââ alpineâ ...