No Dockerfile found

Problem: When I tried to build a repository, I received this error message: “Repository does not contain a Dockerfile. Please check the pipeline configuration”.

2016-09-29_12-29-10.png

This error indicates that the repository doesn’t have a Dockerfile in it or the path for the Dockerfile was incorrect.

Solution: There are two ways to address this error:

  1. Add a Dockerfile to the repository, or verify that you configured the correct path to the Dockerfile.

    To configure the Dockerfile path in the pipeline configuration, navigate to RepositoriesYour RepositoryPipelines.

2016-09-29_12-57-55.png

  1. Use a pre-configured Codefresh Dockerfile template from the template selector on the Pipeline view. Navigate to RepositoriesYour RepositoryPipelines.

2016-09-29_13-03-58.png