Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-5868

Add build argument to override default PyPI URL

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Development Platform
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • AP Sprint 17

      Extend the base images with an additional argument that allows us to configure a different Python Package Index than default PyPI.

      pip and uv both support config files (pip.conf, uv.toml) and env vars to configure path to config file with PIP_CONFIG_FILE and UV_CONFIG_FILE. pip and uv also have the same lookup precedence: command line argument, then env var, and config file last. This allows us to set a default value in a config file and have users pass a different URL as env var at runtime.

      NOTE

      Authentication is out of scope for now. The INDEX_URL is passed as a build argument and therefore must not contain any credentials.

              cheimes@redhat.com Christian Heimes
              cheimes@redhat.com Christian Heimes
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: