Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 856 Bytes

builds-build-custom-builder-image.adoc

File metadata and controls

33 lines (25 loc) · 856 Bytes

Build custom builder image

You can use {product-title} to build and push custom builder images to use in a custom strategy.

Prerequisites
  • Define all the inputs that will go into creating your new custom builder image.

Procedure
  1. Define a BuildConfig that will build your custom builder image:

    $ oc new-build --binary --strategy=docker --name custom-builder-image
  2. From the directory in which you created your custom build image, run the build:

    $ oc start-build custom-builder-image --from-dir . -F

    After the build completes, your new custom builder image is available in your project in an imagestreamtag that is named custom-builder-image:latest.