feat(build): make :docker:build default to buildAllImages (#14634)

This commit is contained in:
Chakru 2025-09-02 22:49:14 +05:30 committed by GitHub
parent efb0a6ff31
commit 06747d6543
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View File

@ -429,3 +429,6 @@ quickstart_configs.each { taskName, config ->
}
}
}
// :docker:build builds all docker images.
build.dependsOn buildImagesallImages

View File

@ -188,6 +188,20 @@ Expected Output:
acryl-datahub, version unavailable (installed in develop mode)
```
### Building All Docker images
Running `./gradlew quickstart` or one of its variants builds images required for that variant and also starts datahub.
If you want to build all images without starting datahub, run
```commandline
./gradlew :docker:build
```
You can optionally pass the following additional args when executing `:docker:build` task
- `-Ptag=customTag` to use the custom tag when generating the image tag.
- `-PdockerRegistry=customRegistry` to use the custom registry when generating the full image tag.
## IDE Support
The recommended IDE for DataHub development is [IntelliJ IDEA](https://www.jetbrains.com/idea/).