Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-146

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: CI/CD
    • Tags:
    • Upgrade notes:
      Hide

      Resolved in NEV-454

      Show
      Resolved in NEV-454
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.31
    • Story Points:
      1

      Description

      Docker images were rework during NEV-19 in order to use multi-stage build. But the --chown flag of the COPY instruction is not working with Kaniko, we've needed to add an extra

      RUN chown -R 1000:0 ...
      

      after the COPY instruction.

      This adds a layer of the size of the rendition which is about 580 Mo.

      Either wait for Google to fix the issue or find a proper fix.
      https://github.com/GoogleContainerTools/kaniko/issues/9

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kleturc Kevin Leturc
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h