File tree 1 file changed +10
-2
lines changed
examples/Example.AutoInstrumentation
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,13 @@ RUN apt-get update && apt-get install -y unzip curl strace
6
6
# USER $APP_UID
7
7
WORKDIR /app
8
8
RUN chown app:app .
9
+
9
10
RUN printf "I'm building for TARGETPLATFORM=${TARGETPLATFORM}" \
10
11
&& printf ", TARGETARCH=${TARGETARCH}" \
11
12
&& printf ", TARGETVARIANT=${TARGETVARIANT} \n " \
12
13
&& printf "With uname -s : " && uname -s \
13
- && printf "and uname -m : " && uname -m
14
-
14
+ && printf "and uname -m : " && uname -m \
15
+
15
16
FROM base AS otel
16
17
ARG OTEL_VERSION=1.7.0
17
18
# install OpenTelemetry .NET Automatic Instrumentation
@@ -70,6 +71,13 @@ RUN ls -al /app
70
71
RUN ls -al /app/otel
71
72
RUN ls -al /app/otel/net
72
73
74
+ RUN printf "I'm building for TARGETPLATFORM=${TARGETPLATFORM}" \
75
+ && printf ", TARGETARCH=${TARGETARCH}" \
76
+ && printf ", TARGETVARIANT=${TARGETVARIANT} \n " \
77
+ && printf "With uname -s : " && uname -s \
78
+ && printf "and uname -m : " && uname -m \
79
+
80
+
73
81
ENV CORECLR_ENABLE_PROFILING="1"
74
82
ENV CORECLR_PROFILER="{918728DD-259F-4A6A-AC2B-B85E1B658318}"
75
83
ENV CORECLR_PROFILER_PATH="/app/otel/linux-${TARGETARCH}/OpenTelemetry.AutoInstrumentation.Native.so"
You can’t perform that action at this time.
0 commit comments