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

Performance issue on "3-jdk-8-alpine" #134

Open
davidpelfree opened this issue Nov 12, 2019 · 1 comment · May be fixed by #135
Open

Performance issue on "3-jdk-8-alpine" #134

davidpelfree opened this issue Nov 12, 2019 · 1 comment · May be fixed by #135

Comments

@davidpelfree
Copy link

TL;DR: when /usr/share/maven/ref directory is heavily populated, even if /root/.m2 is empty, the script mvn-entrypoint.sh will copy Maven artifacts one-by-one using sub-shell ("the slow way"), not by using cp -r ("the quick way").
This happens only on Alpine Linux / Busybox, due to unsupported flags used in mvn-entrypoint.sh script in cp and find commands.

Please see my long description in this commit comment:
7b4d1f0#commitcomment-35919976

davidpelfree added a commit to davidpelfree/docker-maven that referenced this issue Nov 12, 2019
davidpelfree added a commit to davidpelfree/docker-maven that referenced this issue Nov 12, 2019
davidpelfree added a commit to davidpelfree/docker-maven that referenced this issue Nov 12, 2019
@davidpelfree
Copy link
Author

davidpelfree commented Nov 12, 2019

Created pull request: #135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant