Use docker "immutable identifier" instead of tag#2013
Use docker "immutable identifier" instead of tag#2013Tonux599 wants to merge 1 commit intolinuxboot:masterfrom
Conversation
|
The idea was that docker image is supposed to be reproducible with the commit with which it was created. Trust but verify idea of reproducible builds here again. I have no strong opposition to merge this as long as the instructions for maintainer follows in global README.md |
That's good, but end users will probably skip building their own Docker image and would benefit from an immutable Docker image.
|
Signed-off-by: Thomas Clarke <tonux@riseup.net>
251e30d to
1642127
Compare
|
To-do : document under README.md with copy paste related commands
So that next maintainer can reuse this knowledge. |
CircleCI and
docker_repro.shshould use Docker's immutable identifier (sha256 digest of image) instead of tags.Currently, using tags, the administrators of Docker Hub could be coerced into modifying
tlaurion/heads-dev-envto produce malicious ROM's.@tlaurion the safest way to ensure that CircleCI and local builds with
docker_repro.share not tainted by a malicious images would be to use immutable identifiers instead of tags. Going forward, I would recommend you build your container locally, taking note of the sha256 digest, then pushing to docker hub before creating a signed commit replacing the checksums in.circleci/config.yml.