Is there some tool or method to debug a dockerfile or a docker-compose file?
The idea would be to step at each layer and possibly inside each line of the scripts ran, to be able to check for example environment variables.
As a turnaround, if I can interpret correctly the dockerfile syntax, I can run the commands step by step in a console.