Skip to content

[v0.13] cherry-picks for v0.13.2#4874

Merged
tonistiigi merged 6 commits into
moby:v0.13from
tonistiigi:v0.13.2-picks
Apr 25, 2024
Merged

[v0.13] cherry-picks for v0.13.2#4874
tonistiigi merged 6 commits into
moby:v0.13from
tonistiigi:v0.13.2-picks

Conversation

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit eb22207)
@tonistiigi tonistiigi marked this pull request as draft April 24, 2024 18:28
crazy-max and others added 5 commits April 25, 2024 08:51
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
(cherry picked from commit df5ad9c)
Initially we had the GC Policy for Windows use only
2 GB (2e9 bytes) of disk space and this was limiting
for some build scenarios that need more than that,
especially ServerCore images.

This commit makes the policy to use percentages
as it is on Linux. Also going for 20%, double that
of Linux, since Windows images tend to be larger.

fixes moby#4858 docker/buildx#2411

Also, refactors the diskSize logic to simplify
it by bringing the `d.AsByte` function back from
platform specific files to `gcpolicy.go`.

Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
(cherry picked from commit a5f9e42)
Full diff: https://github.com/tonistiigi/fsutil/compare/7525a1af2bb5..497d33b

Summary changes:
- tonistiigi/fsutil#195
  receive: ensure callback errors are propagated
- tonistiigi/fsutil#196
  Fix file transfers from windows to linux
  fixes moby#4741
- tonistiigi/fsutil#197
  recv: translate linkname to wire format

Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
(cherry picked from commit 64ea9da)
Brings in fix for hardlink filters.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit f67b96c)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 68671bc)
@tonistiigi tonistiigi marked this pull request as ready for review April 25, 2024 15:52
@tonistiigi tonistiigi merged commit 2e18d70 into moby:v0.13 Apr 25, 2024
@thompson-shaun thompson-shaun added this to the v0.13.2 milestone Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants