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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.