forked from inspectit-docker/cmr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (19 loc) · 898 Bytes
/
Dockerfile
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
FROM alpine:3.3
MAINTAINER [email protected]
ENV INSPECTIT_VERSION 1.7.7.90
COPY dumb-init /dumb-init
RUN apk --no-cache add ca-certificates wget \
&& wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/2.22-r5/glibc-2.22-r5.apk \
&& apk --allow-untrusted add glibc-2.22-r5.apk \
&& wget --no-check-certificate -O /inspectit-cmr.linux.x64.zip https://github.com/inspectIT/inspectIT/releases/download/${INSPECTIT_VERSION}/inspectit-cmr.linux.x64-${INSPECTIT_VERSION}.zip \
&& unzip /inspectit-cmr.linux.x64.zip -d . \
&& rm *.apk \
&& rm /inspectit-cmr.linux.x64.zip \
&& cp -ar /CMR/config /CMR/config.orig \
&& mkdir -p /CMR/custom/profiles \
&& mkdir -p /CMR/custom/environments
WORKDIR /CMR
VOLUME ["/CMR/config", "/CMR/db", "/CMR/storage", "/CMR/custom/profiles", "/CMR/custom/environments"]
EXPOSE 8182 9070
COPY run.sh run.sh
CMD /bin/sh run.sh