Question

How to upgrade Git version in App Platform?

Posted January 21, 2021 127 views
GitDigitalOcean App Platform

Greetings,

The version of git installed in my App Platform container is 1.17.2. I’m needing to use a newer version, 1.22 or greater. Is it possible to specify the git version the container uses? If so, how?

Grateful for any insight!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

It’s not currently possible to customize the base OS packages within App Platform buildpacks. We’re considering options to offer that functionality. In the mean-time, building the container image via Dockerfile, or specifying an existing container image from the container registry should allow you to fully customize all packages in your app.

  • Thanks for the insight.

    […] specifying an existing container image from the container registry

    Could you share a link to any documentation/tutorials on how to do this?

    • Ah, nevermind. Found some documentation that stated that it’s not possible to specify an existing container and a git repository (only one), so this approach won’t work the way I had thought it might.

Submit an Answer