spring-projects / spring-projects/spring-boot
Support registry mirrors when building images
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
See https://github.com/buildpacks/pack/issues/821 and https://github.com/buildpacks/pack/pull/1210 for background.
Add the ability to configure one or more registry mirrors in the Spring Boot Maven spring-boot:build-image goal and Gradle bootBuildImage task. This configuration would provide a list of mappings from a registry to a registry mirror, such as:
index.docker.io->registry.example.com/mirrorgcr.io/my-repo->registry.example.com/mirror
When the Spring Boot plugins reference an image name that starts with one of the configured registries, the registry part of the image name would be replaced with the mirror before pulling or pushing the image.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked pack issue #821 and pull request #1210, then trace the Spring Boot Maven spring-boot:build-image goal and Gradle bootBuildImage task. Done means both plugins accept registry-to-mirror mappings and replace matching registry prefixes before pulling or pushing images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java, spring-boot
- Domain
- build-system, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100