buildkit
buildkit copied to clipboard
fix: remove default platform option from linter tests
The progress stream would set the platform to linux/amd64 and linux/arm64 during testing. This would trigger the InvalidBaseImagePlatform rule whenever an image was pulled (usually alpine).
This removes that option as it shouldn't be necessary to run the tests.
I have a small concern with this PR. It seems to fix the tests, but I'm concerned that it may be masking a bug in InvalidBaseImagePlatform. For example, could this interfere with multi-platform builds?
Doesn't seem to be an issue anymore. Closing this.