Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-9676

Upgrade and pin git version bundled in the image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.13.2 GA
    • 2.13.2 GA
    • Backend
    • None

      We do not pin the git version in the Dockerfile, so same backend dist-git source and same base image can generate a different image with a different git version.

      Currently git 2.31.1 version was being used. When upgraded to git version 2.39.1, bundle failed to start (and so does the backend entrypoint).

      Bundler runs git commands on git dependencies when configured as local git repos https://bundler.io/guides/git.html#local-git-repos

      Some backend deps are provided with git overrides (like puma) and git will check if the current user is the owner of the git repository folder. The git check was added in https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 and included in git v2.35.2 or newer.

      Openshift will change the effective userID, so the effective userID will not be the owner of the git local repo files.

              Unassigned Unassigned
              eguzki Eguzki Astiz Lezaun
              Martin Kudlej Martin Kudlej
              Eguzki Astiz Lezaun Eguzki Astiz Lezaun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: