Oc new-app: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


A tools that generates an appropriate JSON configuration so OpenShift can build an image based on it.
A tools that generates an appropriate JSON configuration so OpenShift can build an image based on it.
If new-app finds a [[Docker Concepts#Dockerfile|Dockerfile]] in the repository, it uses the "docker" build strategy. Otherwise it uses the "source" strategy. The strategy can be explicitly set with --strategy option.

Revision as of 01:52, 11 May 2017

Internal

Overview

A tools that generates an appropriate JSON configuration so OpenShift can build an image based on it.

If new-app finds a Dockerfile in the repository, it uses the "docker" build strategy. Otherwise it uses the "source" strategy. The strategy can be explicitly set with --strategy option.