feat: set SOURCE_DATE_EPOCH on chunkah (#2651)
Should help with reproducibility and might make updates smaller for unpackaged contents like wallpapers, homebrew. Only downside so far that I see is that `podman images` and the like will show up at the bottom with 56 years ago and so on. Labels like `org.opencontainers.image.created` are of course not affected by this. xref: https://github.com/ublue-os/aurora/issues/2350 and https://github.com/ublue-os/aurora/issues/2579
This commit is contained in:
parent
5cd42a896d
commit
7c3d4b62b0
1 changed files with 1 additions and 0 deletions
1
Justfile
1
Justfile
|
|
@ -341,6 +341,7 @@ rechunk $image=default_image $tag=default_tag $flavor=default_flavor:
|
|||
${PODMAN} run --rm --mount=type=image,src="${image_name}:${tag}",target=/chunkah \
|
||||
-v "${CHUNKAH_CONFIG_FILE}:/chunkah-config.json:ro,Z" \
|
||||
-v "${CHUNKAH_OUTPUT_DIR}:/run/out:Z" \
|
||||
-e SOURCE_DATE_EPOCH=0 \
|
||||
"{{ chunkah }}" \
|
||||
build \
|
||||
--verbose \
|
||||
|
|
|
|||
Loading…
Reference in a new issue