Patched JBoss EAP 7.0 (including 7.0.9 patch) Docker automation build based on centos7 / alpine3.8 images
FROM daggerok/jboss-eap-7.0:7.0.9-alpine
HEALTHCHECK --timeout=1s --retries=99 \
CMD wget -q --spider http://127.0.0.1:8080/my-service/health \
|| exit 1
ADD ./target/*.war ${JBOSS_HOME}/standalone/deployments/my-service.war
FROM daggerok/jboss-eap-7.0:7.0.0-centos
COPY ./build/libs/*.war ./target/*.war ${JBOSS_HOME}/standalone/deployments/
FROM daggerok/jboss-eap-7.0:latest
ENV JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
EXPOSE 5005
COPY ./target/*.war ${JBOSS_HOME}/standalone/deployments/
ports
- management: 9990
- web http: 8080
- https: 8443