Description
The --twice (or --ntimes=N) flag will run a build twice, and bail if the digests do not match.
The second run will automatically run with --no-cache to disable layer caches (but keep cached mounts).
The SOURCE_DATE_EPOCH will be set to the time of the command execution if not explicitly set.
Description
The
--twice(or--ntimes=N) flag will run a build twice, and bail if the digests do not match.The second run will automatically run with
--no-cacheto disable layer caches (but keep cached mounts).The
SOURCE_DATE_EPOCHwill be set to the time of the command execution if not explicitly set.