Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28052

Fix workaround for missing support of --chown flag with COPY command in Kaniko

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CI/CD
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.31
    • Story Points:
      1

      Description

      As stated in NXP-27988, to work around the --chown flag of the COPY instruction not working with Kaniko, we've needed to ad an extra

      RUN chown -R 1000:0 $NUXEO_HOME
      

      after the COPY instruction.

      This adds a layer of the size of the distribution, ~ 200 Mo, which increases the image size in a significative way.

      Either wait for Google to fix the issue or find a proper fix.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: