Helper image with a pre-warmed Maven local repository for Carina and Cucumber executor tasks.
ESG starts this container as a non-essential sidecar and shares /root/.m2/repository with the executor. The image entrypoint exits immediately (0); its job is only to seed that volume so Maven tests skip a cold dependency download.
Built from maven:3.9-eclipse-temurin-17. ESG currently uses m2-repo-carina:2.0.
During the image build it clones and runs:
- carina-demo (
esg-cachebranch,-Dsuite=api) - cucumber-demo (
mainbranch,-Dsuite=helloWorld)
Both trees are deleted after mvn finishes. Only /root/.m2/repository remains.
docker build --platform=linux/amd64 -t m2-repo-carina:<ver> .