Skip to content

Commit

Permalink
Enable Docker Deployment.
Browse files Browse the repository at this point in the history
Provide a custom `.dockerignore` file.
  • Loading branch information
kaladay committed Mar 25, 2024
1 parent e193442 commit 06e02ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Only the jar file is needed for the Docker container.
*
!target/mod-camunda*.jar
14 changes: 7 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ buildMvn {
publishModDescriptor = true
mvnDeploy = true

//doDocker = {
// buildJavaDocker {
// publishMaster = true
// healthChk = true
// healthChkCmd = 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1'
// }
//}
doDocker = {
buildJavaDocker {
publishMaster = true
healthChk = false
healthChkCmd = 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1'
}
}
}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<workflow-components.version>1.2.0-SNAPSHOT</workflow-components.version>
<camunda.version>7.21.0-alpha2</camunda.version>
<openapi.server.port>9000</openapi.server.port>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>

<packaging>jar</packaging>
Expand Down

0 comments on commit 06e02ce

Please sign in to comment.