we needed to opt into copy layer caching and also ensure the mtime of the files were normalized in order for it to work properly. to do so I changed the docker-reproducible command to always create a new clean temporary clone of the repository and set mtime based on git changes.
Type of Change
[ ] Product feature
[ ] Bug fix
[ ] Performance improvement
[ ] Refactor
[ ] Other
Tested Environments
[ ] Development
[ ] Staging
[ ] Production
Before Requesting Review
[ ] Does your code build cleanly without any errors or warnings?
[ ] Have you used auto closing keywords?
[ ] Have you added tests for new functionality?
[ ] Have validated query efficiency for new database queries?
[ ] Have documented new functionality in README or in comments?
[ ] Have you squashed all intermediate commits?
[ ] Is there a clear title that explains what the PR does?
[ ] Have you used intuitive function, variable and other naming?
[ ] Have you requested security and/or privacy review if needed
Summary
we needed to opt into copy layer caching and also ensure the
mtime
of the files were normalized in order for it to work properly. to do so I changed thedocker-reproducible
command to always create a new clean temporary clone of the repository and set mtime based on git changes.Type of Change
Tested Environments
Before Requesting Review
Manual Test Plan