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

Dockerfile.fast not working due to .dockerignore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.14.0
    • 4.14
    • HyperShift
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Dockerfile.fast relies on picking up the `bin` directory built in the host for inclusion in the HyperShift Operator image for development.
      
      Containerfile.operator, for RHTAP, relies on .dockerignore to prevent a `/bin` to be present in the podman build context that has permissions that the user `default` (used by the golang build container) can't write to. 

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1.make docker-build-fast
      

      Actual results:

      COPY bin/* /usr/bin/ fails due to bin not being included in the podman build context

      Expected results:

      The container builds successfully

      Additional info:

       

      Attachments

        Activity

          People

            asegurap1@redhat.com Antoni Segura Puimedon
            asegurap1@redhat.com Antoni Segura Puimedon
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: