forked from karthikmarala/issue-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (17 loc) · 655 Bytes
/
Dockerfile
File metadata and controls
18 lines (17 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM opsmx11/java:14.04-openjdk-8-jdk
## restapp port ####
ENV server_port=8088
RUN apt-get update && apt-get install stress-ng -y
COPY /target/issuegen-0.1.jar /opt/issuegen-0.1.jar
COPY dockerrun.sh /usr/local/bin/dockerrun.sh
RUN chmod +x /usr/local/bin/dockerrun.sh
###### for newrelic-agent only
##COPY newrelic/* /opt/newrelic/
##for promothues-agent
#COPY prometheus/jmx_prometheus_javaagent-0.1.0.jar /opt/jmx_prometheus_javaagent-0.1.0.jar
#COPY prometheus/tomcat.yml /opt/tomcat.yml
#for DD-agent
#COPY tomcat.yaml /etc/dd-agent/conf.d/tomcat.yaml
#COPY install-dd.sh install-dd.sh
#RUN DD_API_KEY=<KEY> bash install-dd.sh
CMD ["dockerrun.sh"]