Get dockerfile, update, and push back to fly created postgres?

Hello,
I’ve deployed a PostgreSQL database months ago using fly recommend commands

flyctl postgres create

It’s been working great. I’ve connects elixir apps to it.
As the usage is growing I wanted to make some changes to the underlying OS.

How can I “download” docker file that is used to start this machine and any other configuration, make changes (add some packages I need installed), and push the new docker file, and restart the postgres instance?

I can ssh, but any apt install gets killed obviously.

Thank you
Lucas

Related1: How to add postgres extension plpython3u
Related2: https://community.fly.io/t/how-to-download-remote-build-dockerfile/
Related3: How We Built Fly Postgres · The Fly Blog

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.