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

[opendatahub-io/base-containers] Refactor Containerfiles to use build-time ARGs instead of template placeholders

    • False
    • Hide

      None

      Show
      None
    • False

      [3887584974] Upstream Reporter: Lalatendu Mohanty
      Upstream issue status: Closed
      Upstream description:

      After https://github.com/opendatahub-io/base-containers/pull/20 is merged.

      *Problem*

      • The CUDA Containerfile template uses ... placeholders that require:
      • Inline hadolint ignore comments (SC1083) to suppress linter warnings
      • A generation script to substitute values for each CUDA version
      • Regenerating all Containerfiles whenever the template changes

      *Solution*

      • Replace CUDA_MAJOR, CUDA_MAJOR_MINOR, CUDA_MAJOR_MINOR_DOT placeholders with Dockerfile ARGs (${...}) and define the version values in each cuda/<version>/app.conf.
      • This eliminates linter workarounds, simplifies the build process, and keeps version configuration in a single place.

              rh-ee-smoparth Shanmukh Pawan Moparthi
              upstream-sync Upstream Sync
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: