Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to jib-core to allow setting timestamps of files on container #1607

Closed
TadCordle opened this issue Apr 8, 2019 · 0 comments · Fixed by #1613
Closed

Add methods to jib-core to allow setting timestamps of files on container #1607

TadCordle opened this issue Apr 8, 2019 · 0 comments · Fixed by #1613
Assignees
Milestone

Comments

@TadCordle
Copy link
Contributor

We should probably have a method that just takes a timestamp and applies it to all the files, e.g.:

JibContainerBuilder#setFileCreationTime(Instant creationTime)

as well as method that takes a function that can be used to calculate the timestamp on a per-file basis:

JibContainerBuilder#setFileCreationTime(Function<Path, Instant> creationTime)

From #1079

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

Successfully merging a pull request may close this issue.

1 participant