JBoss EAP 7.3 Docker automation build based on centos8 / alpine3 images
FROM daggerok/jboss-eap-7.3:7.3.0-debian
COPY --chown=jboss ./target/*.war ${JBOSS_HOME}/standalone/deployments/my-service.war
FROM daggerok/jboss-eap-7.3:7.3.0-centos
HEALTHCHECK --retries=33 \
--timeout=1s \
--interval=1s \
--start-period=3s \
CMD wget -q --spider http://127.0.0.1:8080/my-service/health || exit 1
# ...
FROM daggerok/jboss-eap-7.3:7.3.0-centos
# ...
COPY --chown=jboss ./build/libs/*.war ./target/*.war ${JBOSS_HOME}/standalone/deployments/
FROM daggerok/jboss-eap-7.3:7.3.0-alpine
ENV JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
EXPOSE 5005
# ...
- management:
9990
- web http:
8080
- https:
8443
- username:
admin
- password:
Admin.123