summaryrefslogtreecommitdiffstats
path: root/cps-rest
diff options
context:
space:
mode:
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>2020-11-08 22:18:36 +0100
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>2020-11-10 11:54:44 +0000
commit900ba02f458b3b7adc593f57d1e7447ce6cce142 (patch)
treec3b404b9237d918940a8d681ebbf92154bbe28bc /cps-rest
parent1bd1c6c8ad38d1df70f93c25f82321faa06ae8fc (diff)
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
Diffstat (limited to 'cps-rest')
-rw-r--r--cps-rest/pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml
index 3c92a4e20..fc3e6325e 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>