News for hackers. Stuff that matters.
Re:Docker Is Four Things by globular-toast on Thursday August 31, 2023 @10:06AM (#37337345)
Yeah, that's why I would consider a Makefile declarative even though it can contain bits saying how to do something. I can't consider a Dockerfile declarative simply because it is necessarily executed top to bottom.
Re:Docker Is Four Things by strogonoff on Thursday August 31, 2023 @10:13AM (#37337445)
An array can be declarative even if it has order. Think of the ordered list of statements in a Dockerfile as syntax sugar for a linked list of (declaration, nextDeclarationPointer) tuples.