Skip to content

Commit 6a15ef9

Browse files
committed
update patched install script and docker file
1 parent 4ad77c7 commit 6a15ef9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/patch-dotnet-auto-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ else
7171
fi
7272

7373
rm -rf "$OTEL_DOTNET_AUTO_HOME"
74-
unzip -q "$TMPFILE" -d "$OTEL_DOTNET_AUTO_HOME"
74+
unzip -q "$LOCAL_PATH" -d "$OTEL_DOTNET_AUTO_HOME"

examples/Example.AutoInstrumentation/distribution.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ RUN dotnet publish "${_PROJECT}.csproj" -c Release -a $TARGETARCH --no-restore
2323
FROM build AS final
2424

2525
COPY ".artifacts/elastic-distribution" /distro/elastic
26-
COPY ".artifacts/otel-distribution" /distro/otel
2726

2827
COPY --from=build /app/example /app/example
2928

3029
ENV OTEL_DOTNET_AUTO_HOME="/app/otel"
3130
# Use already downloaded release assets (call ./build.sh redistribute locally if you run this dockerfile manually)
32-
RUN DOWNLOAD_DIR="/distro/elastic/1.7.0" sh /distro/otel/1.7.0/otel-dotnet-auto-install.sh
31+
RUN DOWNLOAD_DIR="/distro/elastic" sh /distro/elastic/elastic-dotnet-auto-install.sh
3332

3433
ENV OTEL_LOG_LEVEL=debug
3534
ENTRYPOINT ["sh", "/app/otel/instrument.sh", "dotnet", "/app/example/Example.AutoInstrumentation.dll"]

0 commit comments

Comments
 (0)