There're several drawbacks using for current bigtop-ci/build.sh script:
1. Need to build and remove image for each build
2. If we do not remove the built image and try to rely on docker build cache, the requirements to reuse the cache is very high, hence most of the time the cache is discarded.
3. A newly built image need to re-download gradle/maven stuffs, which is redundant.
- is related to
BIGTOP-3167 Nexus is always enabled for ./gradlew XXX-ind
BIGTOP-3173 Fix bugs and improve usability of COMPONENT-pkg-ind
- links to