-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
46 lines (38 loc) · 1.83 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM camunda/camunda-bpm-platform:7.9.0
SHELL ["/bin/bash", "-c"]
USER root
RUN rm -rf /camunda/webapps/camunda-invoice \
/camunda/webapps/examples \
/camunda/lib/groovy-all-2.4.13.jar \
/camunda/lib/mail-1.4.1.jar && \
apk add wget curl busybox-extras -f
USER camunda
RUN sed -i 's/<!-- <filter>/<filter>/' /camunda/webapps/engine-rest/WEB-INF/web.xml && \
sed -i 's/<\/filter-mapping> -->/<\/filter-mapping>/' /camunda/webapps/engine-rest/WEB-INF/web.xml && \
sed -i 's/connectionTimeout="20000"/connectionTimeout="600000"/g' /camunda/conf/server.xml
COPY --chown=camunda:camunda ./camunda.sh /camunda/
COPY ./context.xml /camunda/conf/
COPY ./target/dependencies/*.jar /camunda/lib/
COPY ./demo_processes/list /camunda/demo/war.lst
COPY ./demo_processes/*/target/*.war /camunda/webapps/
COPY ./seed/target/*.war /camunda/webapps/
COPY ./target/camunda-ext-*.jar /camunda/lib/camunda-ext.jar
ENV DB_DRIVER= \
DB_HOST= \
DB_PORT= \
DB_NAME= \
DB_USERNAME= \
DB_PASSWORD= \
DB_URL=
LABEL maintainer="Hydra Billing <[email protected]>" \
org.opencontainers.image.authors="Hydra Billing <[email protected]>" \
org.opencontainers.image.title="camunda-ext" \
org.opencontainers.image.description="Camunda with camunda-ext library inside" \
org.opencontainers.image.vendor="Hydra Billing Solutions LLC" \
org.opencontainers.image.licenses="Apache License 2.0" \
org.opencontainers.image.url="https://hub.docker.com/r/latera/camunda" \
org.openbuildservice.disturl="https://github.com/latera/camunda-ext/releases" \
org.opencontainers.image.source="https://github.com/latera/camunda-ext.git" \
org.opencontainers.image.documentation="https://latera.github.io/camunda-ext"
HEALTHCHECK --start-period=60s \
CMD wget -q --spider http://127.0.0.1:8080/camunda/app/welcome