Portable docker daemon for deterministic CI builds Portable docker daemon for deterministic CI builds docker docker

Portable docker daemon for deterministic CI builds


In terms of building Docker images, you should look at bazelbuild/rules_docker (disclaimer: I wrote/own them). They implement the only properly deterministic Docker builds of which I'm aware (at least to Bazel's standard).

They do this by avoiding Dockerfile and the Docker daemon (which most other approaches use), as it is unclear these can produce deterministic artifacts. This avoids the root requirement too, which is nice.

However, you specifically asked about testing, which tl;dr we have not solved.

@ittaiz is also interested in this and started this Github issue for discussing it. Would you mind moving the discussion there?