-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Build does not take into account system property for missing docker #45034
Comments
Pinging @elastic/es-core-infra |
This is an oversight in that we made docker mandatory for building artifacts and optional for running tests only, so if you run The recommendation is to build only a specific distribution of interest. |
What is the best approach to do so ? |
@fayak for example:
|
Thanks ! Is there a list of (or a documentation somewhere) of all possible build options/attributes ? I've found few things around, but nothing really clear unfortunately :/ |
@fayak I have found |
Thanks !
|
This issue is no longer applicable after the Docker support logic refactor. This property has been removed, and we no longer display it in the error message. Attempting to run the Docker build tasks will continue to fail if Docker is not available on the system. The recommended approach, as mentioned above, is to run the task specific to the distribution you require. This also has the benefit of being much faster than running |
Running the build on an OS (in my case Windows) without docker leads to failure even if the
-Dbuild.docker=false
property is specified.The only work-around I found is to exclude the tasks manually:
The issue seems similar to : #43417
The text was updated successfully, but these errors were encountered: