Using this repository we'll help you get up to speed with basic functionality such as: compiling, testing and building Docker images.
This project uses
JAVA, SpringMVC, Tomcat, MySQL, Maven to build an application which will eventually become a distributable Docker image.
In the root of this repository you'll find a file named codefresh.yml, this is our build descriptor and it describes the different steps that comprise our process. Let's quickly review the contents of this file:
version'1.0' steps unit_test titleUnit Tests imagemaven latest commands mvn -version build_image titleBuilding Image typebuild dockerfileDockerfile image_namecodefresh/java-spring-mvc-jdbc launch_composition titleLaunch Composition typelaunch-composition compositiondocker-compose.yml environment_name'java-spring-mvc-jdbc' entry_pointtomcat