-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NH-90479: add building auto-instrumentation docker image
- Loading branch information
1 parent
051ef5c
commit 5d8a717
Showing
3 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To build one auto-instrumentation image for Java, please: | ||
# - Download your customized `javaagent.jar` to `/javaagent.jar`. This is required as when instrumenting the pod, | ||
# one init container will be created to copy the jar to your app's container. | ||
# - Grant the necessary access to the jar. `chmod -R go+r /javaagent.jar` | ||
# - For auto-instrumentation by container injection, the Linux command cp is | ||
# used and must be availabe in the image. | ||
FROM busybox | ||
|
||
ADD build/libs/solarwinds-apm-agent.jar /javaagent.jar | ||
|
||
RUN chmod -R go+r /javaagent.jar |