5 ms·
I'd love to indent the body of each stage in multi-stage dockerfiles, like: FROM foo ... FROM bar ... It's easy to see at glance what
by urxvtcd 1y ago
I'd love to indent the body of each stage in multi-stage dockerfiles, like:
FROM foo
...
FROM bar
...
It's easy to see at glance what's going on.
- xyst 1y agoThis reminds me of SQL indentation “best practices” discussion [1] I personally don’t find this particularly helpful but can see it helping some folks. You write enough dockerfiles, the formatting becomes irrelevant. What pisses me off though is _inconsistency_. One code base uses "formatting practices 1b", then another code base uses "formatting practices 2x". Then the worst offender: a service owners that can’t make up their mind and each developer makes up their own "best practices". [1] https://stackoverflow.com/questions/272210/sql-statement-indentation-good-practice https://stackoverflow.com/questions/272210/sql-statement-ind...