Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix maven repository caching #4

Open
svettwer opened this issue Nov 9, 2018 · 0 comments
Open

Fix maven repository caching #4

svettwer opened this issue Nov 9, 2018 · 0 comments
Labels

Comments

@svettwer
Copy link

svettwer commented Nov 9, 2018

As the base image documentation states under Packaging a local repository with the image

The $MAVEN_CONFIG dir (default to /root/.m2) could be configured as a volume so anything copied there in a Dockerfile at build time is lost. For that reason the dir /usr/share/maven/ref/ exists, and anything in that directory will be copied on container startup to $MAVEN_CONFIG.

Therefore we've to backup the repository to /usr/share/maven/ref/ after installing all citrus dependencies.

@svettwer svettwer added the bug label Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant