Re:Docker Is Four Things
by strogonoff on Saturday September 02, 2023 @04:59AM
(#37359698)
This 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.
Re:Docker Is Four Things
by kdmccormick on Saturday September 02, 2023 @08:55AM
(#37361097)
Yeah, 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.
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.