Skip to content

docs/build-repro.md: fix description about squashing - #3980

Merged
tonistiigi merged 1 commit into
moby:masterfrom
AkihiroSuda:fix-repro-workarounds-description
Aug 3, 2023
Merged

docs/build-repro.md: fix description about squashing#3980
tonistiigi merged 1 commit into
moby:masterfrom
AkihiroSuda:fix-repro-workarounds-description

Conversation

@AkihiroSuda

Copy link
Copy Markdown
Member

We can't avoid squashing even after just fixing up whiteout timestamps (#3560 (comment)) ; Squashing is still needed to apply the touch-ed timestamps across multiple RUN instructions.

Squashing will no longer be needed if we can merge:

@tonistiigi

Copy link
Copy Markdown
Member

@AkihiroSuda Should we add some flag that allows setting timestamp(either to value or to epoch) during COPY in labs channel for v0.12?

@AkihiroSuda

AkihiroSuda commented Jun 30, 2023

Copy link
Copy Markdown
Member Author

@AkihiroSuda Should we add some flag that allows setting timestamp(either to value or to epoch) during COPY in labs channel for v0.12?

👍, but many Dockerfiles will still need squashing

Comment thread docs/build-repro.md Outdated
@tonistiigi

Copy link
Copy Markdown
Member

👍,

Can you send a PR?

@AkihiroSuda

Copy link
Copy Markdown
Member Author

👍,

Can you send a PR?

Sorry, I'm on PTO and missed this for v0.12

We can't avoid squashing even after just fixing up whiteout timestamps;
Squashing is still needed to apply the `touch`-ed timestamps across multiple `RUN` instructions.

Squashing will no longer be needed if we can merge PR 3560.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda
AkihiroSuda force-pushed the fix-repro-workarounds-description branch from a3b3c76 to 0758355 Compare July 19, 2023 13:51
@AkihiroSuda
AkihiroSuda requested a review from tonistiigi July 19, 2023 13:51
@AkihiroSuda

Copy link
Copy Markdown
Member Author

ping @tonistiigi

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants