diff --git a/Dockerfile b/Dockerfile index ca72ea3..45fff2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ RUN yum -y install java-1.8.0-openjdk \ unzip \ jq \ tar \ + curl \ net-tools \ && yum clean all \ && rm -rf /var/cache/yum @@ -72,3 +73,5 @@ COPY files/log4j2-security.sh /tmp/log4j2-security.sh RUN chmod +x /tmp/log4j2-security.sh && /tmp/log4j2-security.sh CMD /startup.sh + +CMD ["curl", "-v", "localhost:8080/actuator/prometheus"]