error: the resolved match "php" for component "openshift/php" cannot build source code in OpenShift

Solution Unverified - Updated -

Issue

  • Getting the following error when oc new-app openshift/php~https://github.com/openshift/sti-php

    error: the resolved match "php" for component "openshift/php" cannot build source code - check whether this is the image you want to use, then use --strategy=source to build using source or --strategy=docker to treat this as a Docker base image and set up a layered Docker build
    

Environment

  • OpenShift Enterprise 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content