Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-24474

S2I Build Wizard should check for Containerfile in addition to Dockerfile

XMLWordPrintable

    • Moderate
    • No
    • ODC Sprint 3249
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-22976. The following is the description of the original issue:

      Description of problem:

      A Github project with a Containerfile instead of a Dockerfile is not seen as a Buildah target, and the wizard falls through to templating as a standard (language) project.
      
      

      Version-Release number of selected component (if applicable):

      
      Server Version: 4.13.18
      Kubernetes Version: v1.26.9+c7606e7
      
      

      How reproducible:

      Always
      
      

      Steps to Reproduce:

      1. Create a git application with Containerfile, e.g. https://github.com/cwilkers/jumble-c
      2. Use the Developer view to add the app as a git repo
      3. Observe failure as project is not built properly due to ignoring Containerfile
      

      Actual results:

      Build failure
      

      Expected results:

      Buildah includes Containerfile which includes html and other resources required for app
      

      Additional info:

      https://github.com/cwilkers/jumble-c
      

              avik6028 Avik Kundu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: