After covering the specifics of the source-to-image build operation, let's recap the steps in Swarm's s2i build:
- The container on which the build will take place is created from the builder image.
- The sources of an application are injected into the container.
- If incremental builds are enabled, the Maven artifacts will be restored from the previous build image.
- If provided, environment variables are set.
- The assembly script, provided by the image creator, is executed.
- The image is committed with the start command set to the run script provided by the image creator.
A developer who will like to build their applications using the source-to-image build has to provide the name of the builder image and the ...