-
Notifications
You must be signed in to change notification settings - Fork 28
/
Docker.yourkit
40 lines (34 loc) · 1006 Bytes
/
Docker.yourkit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM alpine:3.6
MAINTAINER Ben Faul, https://github.com/benmfaul
RUN apk --update add openjdk8-jre
RUN apk add --no-cache bash
RUN apk add --no-cache python && \
python -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip install --upgrade pip setuptools && \
pip install --upgrade pip requests && \
rm -r /root/.cache
RUN mkdir target
RUN mkdir tools
RUN mkdir shell
RUN mkdir libs
RUN mkdir query
RUN mkdir python
RUN mkdir logs
RUN apk add --no-cache libc6-compat
COPY YourKit-JavaProfiler-2019.1-docker.zip /tmp/
RUN unzip /tmp/YourKit-JavaProfiler-2019.1-docker.zip -d /usr/local
RUN rm /tmp/YourKit-JavaProfiler-2019.1-docker.zip
COPY log4j.properties /
COPY query/daily.json /query
COPY query/lastlog.json /query
COPY query/total.json /query
COPY target/*with-dependencies.jar /target
COPY wait-for-it.sh /
COPY tools/* /
COPY libs/* /libs
COPY shell/* /shell/
COPY config.json config.json
COPY python/* /python/
EXPOSE 8100 7002 10001
CMD ./crosstalk-yourkit