Hi I built a Camunda Spring Boot Application, ho can I Dockerize it using maven?
Is there an example or a reference guide?
Thanks in advance
Hi I built a Camunda Spring Boot Application, ho can I Dockerize it using maven?
Is there an example or a reference guide?
Thanks in advance
It’s not any different from dockerizing any other java/spring boot app, so this might be a good starting point (it also provides a demo repo): https://spring.io/guides/gs/spring-boot-docker/
Thanks for reply @jangalinski
What about this snippet code descibed here: https://docs.camunda.org/get-started/spring-boot/project-setup/#add-camunda-bpm-spring-boot-dependencies
I have to remove it?
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.0.1.RELEASE</version>
<configuration>
<layout>ZIP</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks a lot
That’s the spring boot plugin that creates the executable jar. You will still need, this jar is then used to run in the docker images.