Skip to content

Commit 8d1fb4e

Browse files
authored
Update Dockerfile comments for undocumented requirement (#1568)
1 parent 3459574 commit 8d1fb4e

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

autoinstrumentation/dotnet/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
# DOTNET_ADDITIONAL_DEPS=%InstallationLocation%/AdditionalDeps
1010
# DOTNET_SHARED_STORE=%InstallationLocation%/store
1111
# DOTNET_STARTUP_HOOKS=%InstallationLocation%/net/OpenTelemetry.AutoInstrumentation.StartupHook.dll
12-
# OTEL_DOTNET_AUTO_HOME=%InstallationLocation%
12+
# OTEL_DOTNET_AUTO_HOME=%InstallationLocation%
13+
# - For auto-instrumentation by container injection, the Linux command cp is
14+
# used and must be availabe in the image.
1315

1416
FROM busybox
1517

autoinstrumentation/java/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# - Download your customized `javaagent.jar` to `/javaagent.jar`. This is required as when instrumenting the pod,
33
# one init container will be created to copy the jar to your app's container.
44
# - Grant the necessary access to the jar. `chmod -R go+r /javaagent.jar`
5+
# - For auto-instrumentation by container injection, the Linux command cp is
6+
# used and must be availabe in the image.
57
FROM busybox
68

79
ARG version

autoinstrumentation/nodejs/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# - Ensure you have `@opentelemetry/api`, `@opentelemetry/auto-instrumentations-node`, and `@opentelemetry/sdk-node` or your customized
88
# alternatives installed.
99
# - Grant the necessary access to `/autoinstrumentation` directory. `chmod -R go+r /autoinstrumentation`
10+
# - For auto-instrumentation by container injection, the Linux command cp is
11+
# used and must be availabe in the image.
1012
FROM node:16 AS build
1113

1214
WORKDIR /operator-build

autoinstrumentation/python/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
# - Ensure you have `opentelemetry-distro` and `opentelemetry-instrumentation` or your customized alternatives installed.
88
# Those two packages are essential to Python auto-instrumentation.
99
# - Grant the necessary access to `/autoinstrumentation` directory. `chmod -R go+r /autoinstrumentation`
10-
10+
# - For auto-instrumentation by container injection, the Linux command cp is
11+
# used and must be availabe in the image.
1112
FROM python:3.10-alpine AS build
1213

1314
WORKDIR /operator-build

0 commit comments

Comments
 (0)