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

Dockerfile.fast not working due to .dockerignore

XMLWordPrintable

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

      None

      Show
      None

      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:

       

            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

              Created:
              Updated:
              Resolved: