File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
examples/language-sdk-instrumentation/dotnet Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine
22
33WORKDIR /dotnet
44
5- COPY --from=pyroscope/pyroscope-dotnet:0.10 .0-musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6- COPY --from=pyroscope/pyroscope-dotnet:0.10 .0-musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
5+ COPY --from=pyroscope/pyroscope-dotnet:0.13 .0-musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6+ COPY --from=pyroscope/pyroscope-dotnet:0.13 .0-musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
77
88ADD example .
99
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN sed -i -E 's|<TargetFramework>.*</TargetFramework>|<TargetFramework>net'$SDK
1717RUN dotnet publish -o . --framework net$SDK_VERSION --runtime linux-musl-x64 --no-self-contained
1818
1919# This fetches the SDK
20- FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.10 .0-musl AS sdk
20+ FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.13 .0-musl AS sdk
2121
2222# Runtime only image of the targetplatfrom, so the platform the image will be running on.
2323FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:$SDK_VERSION-alpine
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ func updateJfrParser() {
288288
289289func extractDotnetVersion () func (tag Tag ) * version {
290290 return func (tag Tag ) * version {
291- re := regexp .MustCompile (`v(\d+).(\d+).(\d+)$` )
291+ re := regexp .MustCompile (`v(\d+).(\d+).(\d+)(-pyroscope)? $` )
292292 match := re .FindStringSubmatch (tag .Name )
293293 if match != nil {
294294 fmt .Println (len (match ), match )
You can’t perform that action at this time.
0 commit comments