Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6353

Fix Platform overriding of codestart dockerfile data

XMLWordPrintable

      We need the Platform to override the values in the codestart data, and for that, they need to be prefixed by the codestart name. TBH, my first inclination was to always override properties in the codestarts with what comes from the data... but it breaks a test so let's not go there for now.

      Also fix the native-micro entry as it was missing a `.from`.

      And make sure the data coming from previous platforms is properly fixed when extracted.

      Fixes #48102

      Problem is due to the `tooling-dockerfiles` `codestart.yml` containing the default values for `native` and `native-micro` so we need to make sure they are properly overridden:

      ```yaml
      data:
      dockerfile:
      native:
      from: registry.access.redhat.com/ubi8/ubi-minimal:8.10
      native-micro:
      from: quay.io/quarkus/quarkus-micro-image:2.0
      ```

              Unassigned Unassigned
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: