Skip to content

Commit 343e505

Browse files
author
Brice Fallon-Freeman
authored
Merge pull request openshift#3411 from bfallonf/from_1403385
Bug 1403385 added from section to custom builds
2 parents 7d3fb26 + a86802a commit 343e505

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

dev_guide/builds.adoc

+19
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,25 @@ The following options are specific to the
523523
xref:../architecture/core_concepts/builds_and_image_streams.adoc#custom-build[Custom
524524
build strategy].
525525

526+
[[custom-strategy-from]]
527+
528+
=== FROM Image
529+
530+
Use the `customStrategy.from` section to indicate the image to use for the
531+
custom build:
532+
533+
====
534+
[source,yaml]
535+
----
536+
strategy:
537+
type: "Custom"
538+
customStrategy:
539+
from:
540+
kind: "DockerImage"
541+
name: "openshift/sti-image-builder"
542+
----
543+
====
544+
526545
[[expose-docker-socket]]
527546

528547
=== Exposing the Docker Socket

0 commit comments

Comments
 (0)