Skip to content

Commit

Permalink
trying curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Jan 30, 2024
1 parent 99f4f2e commit e676eed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]

0 comments on commit e676eed

Please sign in to comment.