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

container-driver: fix volume destination for cache #751

Merged
merged 1 commit into from
Aug 28, 2021

Commits on Aug 27, 2021

  1. container-driver: fix volume destination for cache

    The container-driver creates a Linux container (as there currently isn't a
    Windows version of buildkitd). However, the defaults are platform specific.
    
    Buildx was using the defaults from the buildkit `util/appdefault' package,
    which resulted in Buildx running on a Windows client to create a Linux
    container that used the Windows location, which causes it to fail:
    
        invalid mount config for type "volume": invalid mount path: 'C:/ProgramData/buildkitd/.buildstate' mount path must be absolute
    
    This patch hard-codes the destination to the default Linux path.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Aug 27, 2021
    Configuration menu
    Copy the full SHA
    93867d0 View commit details
    Browse the repository at this point in the history