Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-13719

Install dependencies from requirements.txt on the container image when pre-building container image

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Later
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      During pre-building, we pre-download the sources of the dependencies specified in the requirements.txt and copy them to the container image and later skip the step of staging them.

      This step is slow. Instead of we can install the dependencies(specified in the requirements.txt) on the container image during pre-building the container image.  

       

      Attachments

        Issue Links

          Activity

            Anand Inguva Anand Inguva added a comment - - edited

             BEAM-4032 We download and stage binaries now without their sub-dependencies if a requirements file is specified.

            Anand Inguva Anand Inguva added a comment - - edited   BEAM-4032 We download and stage binaries now without their sub-dependencies if a requirements file is specified.
            Anand Inguva Anand Inguva added a comment -

            Valentyn Tymofieiev Do we still need this?

            Anand Inguva Anand Inguva added a comment - Valentyn Tymofieiev Do we still need this?
            Anand Inguva Anand Inguva added a comment - - edited

            installing torch in the docker container image during prebuilding fails. So I think we should keep the behavior as it is for now. 

            Anand Inguva Anand Inguva added a comment - - edited installing torch in the docker container image during prebuilding fails. So I think we should keep the behavior as it is for now. 

            People

              Anand Inguva Anand Inguva
              Anand Inguva Anand Inguva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack