buildkit icon indicating copy to clipboard operation
buildkit copied to clipboard

fix: remove default platform option from linter tests

Open jsternberg opened this issue 1 year ago • 1 comments

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.

jsternberg avatar Jun 28 '24 18:06 jsternberg

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?

jsternberg avatar Jun 28 '24 18:06 jsternberg

Doesn't seem to be an issue anymore. Closing this.

jsternberg avatar Sep 26 '25 15:09 jsternberg