apache / apache/druid

Speed up the build process of Docker

Open
#11,995 0 comments 0 reactions 0 assignees View on GitHub
Area - Dev Contributions Welcome Docker
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

### Description

Normally, the build process of Docker always takes at least 20 minutes, which is not efficient. Most of the cost is the `dependency:go-offline` step. We may need to cache these dependencies files through Docker cache, or support using the external `.m2` directory instead, so that we can speed up the Docker build process and improve the effect of development and deployment.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Docker build entry point and the dependency:go-offline step, then compare Docker cache handling with use of the external .m2 directory. Measure the current build time and dependency-download behavior; done means the Docker build is measurably faster without breaking development or deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
build-system, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.