mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
23 lines
492 B
Plaintext
23 lines
492 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
//* builds/build-strategies.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="builds-strategy-custom-from-image_{context}"]
|
|
= Using FROM image for custom builds
|
|
|
|
You can use the `customStrategy.from` section to indicate the image to use for the custom build.
|
|
|
|
.Procedure
|
|
|
|
* Set the `customStrategy.from` section:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
strategy:
|
|
customStrategy:
|
|
from:
|
|
kind: "DockerImage"
|
|
name: "openshift/sti-image-builder"
|
|
----
|