sha256:7ba5348f9e97897f95587c2cecbf3d759dcfa53e0a956f789f07018681010b76
OS/ARCH
linux/amd64
Compressed size
179.44 MB
Last pushed
about 1 year by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:5b2ebe7dcb386c9b797ef7961e2f781fba483c065847d4c16307662aea1fdb99
12
RUN /bin/sh -c apk add --no-cache tzdata curl unzip bash su-exec jattach # buildkit
1.89 MB
13
RUN /bin/sh -c mkdir /opt/custom-init.d/ # buildkit
123 B
14
RUN /bin/sh -c addgroup -S -g 1000 bonita && adduser -u 1000 -S -G bonita -h /opt/bonita/ -s /sbin/nologin bonita # buildkit
946 B
15
ARG BONITA_VERSION
0 B
16
ARG BRANDING_VERSION
0 B
17
ARG BONITA_SHA256
0 B
18
ARG BASE_URL
0 B
19
ARG BONITA_URL
0 B
20
ENV BONITA_VERSION=10.2.0
0 B
21
ENV BRANDING_VERSION=2024.3-u0
0 B
22
ENV BONITA_SHA256=75ad51a50cba484d3f74637584bf5144bf0cf28c06ae7a5efe1a804cdc996d86
0 B
23
ENV ZIP_FILE=BonitaCommunity-2024.3-u0.zip
0 B
24
ENV BASE_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat
0 B
25
ENV BONITA_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat/10.2.0/bundle-tomcat-10.2.0.zip
0 B
26
RUN |5 BONITA_VERSION=10.2.0 BRANDING_VERSION=2024.3-u0 BONITA_SHA256=75ad51a50cba484d3f74637584bf5144bf0cf28c06ae7a5efe1a804cdc996d86 BASE_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat BONITA_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat/10.2.0/bundle-tomcat-10.2.0.zip /bin/sh -c mkdir /opt/files # buildkit
115 B
27
COPY files /opt/files # buildkit
3.71 KB
28
RUN |5 BONITA_VERSION=10.2.0 BRANDING_VERSION=2024.3-u0 BONITA_SHA256=75ad51a50cba484d3f74637584bf5144bf0cf28c06ae7a5efe1a804cdc996d86 BASE_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat BONITA_URL=https://search.maven.org/remotecontent?filepath=org/bonitasoft/distrib/bundle-tomcat/10.2.0/bundle-tomcat-10.2.0.zip /bin/sh -c if [ -f "/opt/files/BonitaCommunity-${BRANDING_VERSION}.zip" ]; then echo "File already present in /opt/files"; else curl -fsSL ${BONITA_URL} -o /opt/files/BonitaCommunity-${BRANDING_VERSION}.zip && echo "$BONITA_SHA256 */opt/files/$ZIP_FILE" | sha256sum -c - ; fi && unzip -q /opt/files/BonitaCommunity-${BRANDING_VERSION}.zip -d /opt/bonita/ && mv /opt/bonita/BonitaCommunity-${BRANDING_VERSION}/* /opt/bonita && rmdir /opt/bonita/BonitaCommunity-${BRANDING_VERSION} && rm -f /opt/files/BonitaCommunity-${BRANDING_VERSION}.zip && mkdir -p /opt/bonita/conf/logs/ && mkdir -p /opt/bonita/logs/ && mv /opt/files/log4j2/log4j2-appenders.xml /opt/bonita/conf/logs/ && mv /opt/bonita/server/conf/log4j2-loggers.xml /opt/bonita/conf/logs/ && chown -R bonita:bonita /opt/bonita && chmod go+w /opt/ && chmod -R +rX /opt && chmod go+w /opt/bonita && chmod 777 /opt/bonita/server/logs && chmod 777 /opt/bonita/logs/ && chmod 777 /opt/bonita/server/temp && chmod 777 /opt/bonita/server/work && chmod -R go+w /opt/bonita/server/conf && chmod -R go+w /opt/bonita/server/bin && chmod -R go+w /opt/bonita/server/lib/bonita && chmod -R go+w /opt/bonita/setup # buildkit
119.52 MB
29
ENV HTTP_API=false
0 B
30
ENV HTTP_API_USERNAME=http-api
0 B
31
ENV HTTP_API_PASSWORD=
0 B
32
ENV MONITORING_USERNAME=monitoring
0 B
33
ENV MONITORING_PASSWORD=mon1tor1ng_adm1n
0 B
34
ENV JMX_REMOTE_ACCESS=false
0 B
35
ENV REMOTE_IP_VALVE_ENABLED=false
0 B
36
ENV ACCESSLOGS_STDOUT_ENABLED=false
0 B
37
ENV ACCESSLOGS_FILES_ENABLED=false
0 B
38
ENV ACCESSLOGS_PATH=/opt/bonita/logs
0 B
39
ENV ACCESSLOGS_PATH_APPEND_HOSTNAME=false
0 B
40
ENV ACCESSLOGS_MAX_DAYS=30
0 B
41
ENV HTTP_MAX_THREADS=20
0 B
42
COPY templates /opt/templates # buildkit
5.89 KB
43
EXPOSE map[8080/tcp:{} 9000/tcp:{}]
0 B
44
ENTRYPOINT ["/__cacert_entrypoint.sh" "/opt/files/startup.sh"]
0 B
45
CMD ["/opt/bonita/server/bin/catalina.sh" "run"]
0 B