railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.33k stars 222 forks source link

Output environment variables during build #1064

Open iloveitaly opened 5 months ago

iloveitaly commented 5 months ago

Feature request

Adding a section to this display:

image

Motivation

Inform developers about the default set of environment variables in the build. This would make it easy for them to understand which variables might be worth overriding to a different value, as well as easily introspecting what dynamic defaults were chosen for particular variables.

Right now the only way to investigate this is to Docker inspect the resulting image and look through the massive JSON output.

Related to: https://github.com/railwayapp/nixpacks/pull/1063

Contribution

I can add this.