aabarmin / epam-microservices-training-2022

Apache License 2.0
14 stars 15 forks source link

Update `build.sh` script to build images in the container #47

Open aabarmin opened 11 months ago

aabarmin commented 11 months ago

Is your feature request related to a problem? Please describe. The problem is that in order to build the application it is necessary to have many tools installed - like Apache Maven, JDK, etc. Would be nice if it is possible to build the whole project in Docker only.

Describe the solution you'd like Introduce multi-stage Docker build like described here - https://www.alibabacloud.com/help/en/acr/use-cases/build-an-image-for-a-java-application-by-using-a-dockerfile-with-multi-stage-builds