chainguard-dev / apko

Build OCI images from APK packages directly without Dockerfile
https://apko.dev
Apache License 2.0
1.2k stars 122 forks source link

Preserve APK timestamps when using dirfs #1352

Closed jonjohnsonjr closed 3 weeks ago

jonjohnsonjr commented 3 weeks ago

This worked in our happy tarfs path but not in the dirfs path that melange uses because some runners mount directories rather than actually packaging the layer up into an image. This made it impossible to test the timestamps properly in package tests because the APK files had modtimes set to SOURCE_DATE_EPOCH.