sbt-native-packager icon indicating copy to clipboard operation
sbt-native-packager copied to clipboard

Disabling warnings

Open huntc opened this issue 5 years ago • 1 comments

I've recently upgraded and notice that there are now warnings for the lack of dockerExposedPorts. Is there a means of disabling such warnings as there are use-cases where a docker image is used as a base for another one?

huntc avatar Sep 17 '20 00:09 huntc

Hi @huntc :smile:

There's no api to disable a single validation. Currently you can only disable all validations all together

Docker / validatePackageValidators := List.empty

In hindsight this was not vey well crafted API and doesn't allow for a lot of customizations.

muuki88 avatar Sep 17 '20 09:09 muuki88