mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 00:16:42 +00:00
fix(server): preserve remote HOME in Railpack buildx prune
This commit is contained in:
1 parent
67687efc65
commit
d681e656c7
2 files changed
+2
-2
No files matched your search
@@ -451,7 +451,7 @@ it('uses persisted buildx metadata when pruning the railpack builder', function
|
||||
$sourceFile = file_get_contents(__DIR__.'/../../../../app/Actions/Server/CleanupDocker.php');
|
||||
|
||||
expect($sourceFile)
|
||||
->toContain('docker run --rm -v $HOME/.docker/buildx:/root/.docker/buildx')
|
||||
->toContain('docker run --rm -v \\$HOME/.docker/buildx:/root/.docker/buildx')
|
||||
->toContain('docker buildx prune --builder coolify-railpack -af')
|
||||
->not->toContain('--buildkitd-flags');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user