Docker: Difference between revisions
imported>Jooooscha No edit summary |
imported>Jooooscha mNo edit summary |
||
Line 32: | Line 32: | ||
The manual advises against using <code>created = "now"</code>, as that prevents images from being reproducible. | The manual advises against using <code>created = "now"</code>, as that prevents images from being reproducible. | ||
An | An alternative, if using [[flakes]], is to do <code>created = builtins.substring 0 8 self.lastModifiedDate</code>, which uses the commit date, and is therefore reproducible. | ||
== How to calculate the <code>sha256</code> of a pulled image == | == How to calculate the <code>sha256</code> of a pulled image == |