I have configured the git environment in ssh console, but when restarting the app, all the previously installed software is gone. Also, redeploying the app will restore the environment.
The root disk on a Fly VM is ephemeral: the root filesystem is rebuilt from the app’s container image every time that the VM is started. As a result, any files that you write (including software that you install) through the SSH console will be gone after the VM restarts, as you’ve seen.
Thanks, although this is a bit hard for me.
I wrote a post to show how to package git into ghost docker image.