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

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

Merged
merged 6 commits into from
Apr 25, 2024
Merged

Commits on Apr 24, 2024

  1. dockerfile: fix missing source mapping for COPY --link command

    Signed-off-by: Tonis Tiigi <[email protected]>
    (cherry picked from commit eb22207)
    tonistiigi committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    6d689a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. frontend: missing compat check for TestCommandSourceMapping

    Signed-off-by: CrazyMax <[email protected]>
    (cherry picked from commit df5ad9c)
    crazy-max authored and tonistiigi committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    d647910 View commit details
    Browse the repository at this point in the history
  2. fix: gc policy for windows to use percentage of disk space

    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 <[email protected]>
    (cherry picked from commit a5f9e42)
    profnandaa authored and tonistiigi committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    38e6fcd View commit details
    Browse the repository at this point in the history
  3. vendor: github.com/tonistiigi/fsutil @ 497d33b

    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 <[email protected]>
    (cherry picked from commit 64ea9da)
    profnandaa authored and tonistiigi committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    a0efecf View commit details
    Browse the repository at this point in the history
  4. vendor: update fsutil to 91a3fc4

    Brings in fix for hardlink filters.
    
    Signed-off-by: Tonis Tiigi <[email protected]>
    (cherry picked from commit f67b96c)
    tonistiigi committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    4d961ca View commit details
    Browse the repository at this point in the history
  5. buildkitd: allow --group for windows

    Signed-off-by: Tonis Tiigi <[email protected]>
    (cherry picked from commit 68671bc)
    tonistiigi committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    25108ab View commit details
    Browse the repository at this point in the history