Skip to content

Commit

Permalink
attempt 9 to get a copy from build_plugin to work on Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Jul 9, 2024
1 parent d979545 commit fe054c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/Example.AutoInstrumentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ COPY --from=otel /app/otel /app/otel
RUN true
COPY --from=build_plugin /app/temp /app/temp
RUN true
RUN ls -al /app/temp

COPY --from=build_plugin "/src/.artifacts/bin/Elastic.OpenTelemetry.AutoInstrumentationPlugin/release_net8.0/Elastic.OpenTelemetry.AutoInstrumentationPlugin.dll" /app/otel/net/
COPY --from=build_plugin "/src/.artifacts/bin/Elastic.OpenTelemetry/release_net8.0/Elastic.OpenTelemetry.dll" /app/otel/net/
RUN ls -al /app/temp/bin
RUN mkdir -p /app/otel/net
RUN cp "/app/temp/bin/Elastic.OpenTelemetry.AutoInstrumentationPlugin/release_net8.0/Elastic.OpenTelemetry.AutoInstrumentationPlugin.dll" /app/otel/net/
RUN cp "/app/temp/bin/Elastic.OpenTelemetry/release_net8.0/Elastic.OpenTelemetry.dll" /app/otel/net/

ENV CORECLR_ENABLE_PROFILING="1"
ENV CORECLR_PROFILER="{918728DD-259F-4A6A-AC2B-B85E1B658318}"
Expand Down

0 comments on commit fe054c5

Please sign in to comment.