Dockerize the service
- automatically generate docker image
- provide docker-compose to start the service
together with dockerized postgres db
Issue-ID: CPS-22
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I846d14e87de50bfb1411e0c9b49e9f6c6cc8ebda
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml
index 3c92a4e..fc3e632 100644
--- a/cps-rest/pom.xml
+++ b/cps-rest/pom.xml
@@ -85,6 +85,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ </plugin>
<!-- Swagger code generation. -->
<plugin>
<groupId>io.swagger.codegen.v3</groupId>