2 ms·
> I reject this line of reasoning, simply because decalative languages are indeed order-dependent Eh, I can kinda see that. -- It's possible to imagine a decla
by rgoulter 3y ago
> I reject this line of reasoning, simply because decalative languages are indeed order-dependent
Eh, I can kinda see that. -- It's possible to imagine a declaration where the order of items in a list has consequence.
Still, I'd Dockerfiles as a sequence of statements more akin to a bash script than to an SQL expression.
- strogonoff 3y agoThis is a deeply mistaken view informed by the cargo-culting devops traditions of yore. A Dockerfile is a declaration of layers that does not resist being used in imperative way, in which sense it’s no different from YAML or any functional language you can think of.
- kdmccormick 3y agoYeah, to pile on, I often see this line of thinking: > Still, I'd Dockerfiles as a sequence of statements more akin to a bash script than to an SQL expression. lead to some quite inefficient and poorly-factored Dockerfiles.