Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

portable_mtime for py3_image #2269

Open
amir-f opened this issue Aug 19, 2023 · 0 comments
Open

portable_mtime for py3_image #2269

amir-f opened this issue Aug 19, 2023 · 0 comments

Comments

@amir-f
Copy link

amir-f commented Aug 19, 2023

🚀 feature request

Description

When using py3_image the mtime (modification time) for all the files are set to 0 unix time (cira 1970). Some python libraries panic when they see that (eg. zipfile python builtin lib ValueError: ZIP does not support timestamps before 1980)

Describe the solution you'd like

container_image has an option to set all mtimes to a fixed valued: see portable_mtime but IIUC it needs to be routed to py3_image through the signatures somehow, hence this feature request.

Basically can we by default or through an option in py3_image set all the mtimes to something other than 0 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant