We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3578a8 commit 2a1bd44Copy full SHA for 2a1bd44
examples/Example.AutoInstrumentation/Dockerfile
@@ -1,6 +1,8 @@
1
-FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
2
-ARG OTEL_VERSION=1.7.0
+ARG OTEL_VERSION=1.7.0
+FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
3
+ARG TARGETPLATFORM
4
ARG TARGETARCH
5
+ARG TARGETVARIANT
6
RUN apt-get update && apt-get install -y unzip curl strace
7
# Would love to run as non root but TestContainers does not utilize buildkit like `docker build` does OOTB
8
#USER $APP_UID
@@ -42,7 +44,9 @@ RUN mkdir -p /app/temp
42
44
RUN cp -r /src/.artifacts/bin /app/temp
43
45
46
FROM otel AS final
47
48
49
50
WORKDIR /app
51
COPY --from=publish_example /app/example /app/example
52
COPY --from=otel /app/otel /app/otel
0 commit comments