forked from hypertrace/javaagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (13 loc) · 641 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (13 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This is a dockerfile that contains the Hypertrace javaagent.
# This image can be used to get the javaagent into app images or
# as Kubernetes init container to copy the javaagent into the volume mounted into the
# application container.
FROM hypertrace/java:11
LABEL maintainer="Hypertrace 'https://www.hypertrace.org/'"
ENV JAVAAGENT=/opt/hypertrace/hypertrace-agent-all.jar
COPY build/libs/hypertrace-agent-*-all.jar ${JAVAAGENT}
# The following binaries are used by sidecar injector
# This statement tests if they exists in the image
RUN which base64
# env vars are not interpreted
CMD ["/opt/hypertrace/hypertrace-agent-all.jar"]