Here is what I plan to do in our Pipeline, please let me know if this violates any best practices
We typically deploy Java based app servers to AWS elastic beanstalk or lambda. Therefore, our image shall contain
- mvn
- python3
- pip
- awscli
But we also have custom JFrog instance hosting our artifacts, thus we need to mv our own {{settings.xml}} in {{/root/.m2/settings.xml}
This way, my 1 image can handle everything from running tests to upload the application JARs to AWS and without having to specify a {{mvn -s <path to settings>}} on each command
Does this violate any known best practices at all?