Source-to-image

    S2I images include:

    • .NET

    • Java

    • Go

    • Node.js

    • Perl

    • Python

    S2I images are available for you to use directly from the OKD web console by following procedure:

    1. Log in to the OKD web console using your login credentials. The default view for the OKD web console is the Administrator perspective.

    2. Use the perspective switcher to switch to the Developer perspective.

    3. In the +Add view, select an existing project from the list or use the Project drop-down list to create a new project.

    4. Choose All services under the tile Developer Catalog.

    5. Select the Type Builder Images then can see the available S2I images.

    S2I images are also available though the Configuring the Cluster Samples Operator.

    Source-to-image (S2I) produces ready-to-run images by injecting source code into a container that prepares that source code to be run. It performs the following steps:

    1. Copies the source code to a defined location in the builder image

    2. Runs the assemble script in the builder image

    3. Sets the run script in the builder image as the default command

    Buildah then creates the container image.

    Additional resources