Skip to content

Commit f1f8e59

Browse files
committed
debug message
1 parent df6a350 commit f1f8e59

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

examples/Example.AutoInstrumentation/Dockerfile

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ RUN apt-get update && apt-get install -y unzip curl strace
66
#USER $APP_UID
77
WORKDIR /app
88
RUN chown app:app .
9+
910
RUN printf "I'm building for TARGETPLATFORM=${TARGETPLATFORM}" \
1011
&& printf ", TARGETARCH=${TARGETARCH}" \
1112
&& printf ", TARGETVARIANT=${TARGETVARIANT} \n" \
1213
&& printf "With uname -s : " && uname -s \
13-
&& printf "and uname -m : " && uname -m
14-
14+
&& printf "and uname -m : " && uname -m \
15+
1516
FROM base AS otel
1617
ARG OTEL_VERSION=1.7.0
1718
# install OpenTelemetry .NET Automatic Instrumentation
@@ -70,6 +71,13 @@ RUN ls -al /app
7071
RUN ls -al /app/otel
7172
RUN ls -al /app/otel/net
7273

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+
7381
ENV CORECLR_ENABLE_PROFILING="1"
7482
ENV CORECLR_PROFILER="{918728DD-259F-4A6A-AC2B-B85E1B658318}"
7583
ENV CORECLR_PROFILER_PATH="/app/otel/linux-${TARGETARCH}/OpenTelemetry.AutoInstrumentation.Native.so"

0 commit comments

Comments
 (0)