diff --git a/CHANGELOG.md b/CHANGELOG.md index b36f98a2df..c4a00c9836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ the release. ([#1363](https://github.com/open-telemetry/opentelemetry-demo/pull/1363)) * [tests] update trace based tests for semantic conventions ([#1377](https://github.com/open-telemetry/opentelemetry-demo/pull/1377)) +* [cartservice] update .NET to .NET 8.0.2 + ([#1380](https://github.com/open-telemetry/opentelemetry-demo/pull/1380)) ## 1.7.2 diff --git a/src/cartservice/src/Dockerfile b/src/cartservice/src/Dockerfile index d799647ff5..ec3960d9a1 100644 --- a/src/cartservice/src/Dockerfile +++ b/src/cartservice/src/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # https://mcr.microsoft.com/v2/dotnet/sdk/tags/list -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.101 AS builder +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.200 AS builder ARG TARGETARCH WORKDIR /usr/src/app/ @@ -30,7 +30,7 @@ RUN dotnet publish ./src/cartservice.csproj -v d -r linux-musl-$TARGETARCH --no- # ----------------------------------------------------------------------------- # https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list -FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.1-alpine3.18 +FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.2-alpine3.18 WORKDIR /usr/src/app/ COPY --from=builder /cartservice/ ./ diff --git a/src/cartservice/src/cartservice.csproj b/src/cartservice/src/cartservice.csproj index 61f54bc803..4e24809a75 100644 --- a/src/cartservice/src/cartservice.csproj +++ b/src/cartservice/src/cartservice.csproj @@ -14,14 +14,14 @@ - - - + + + - - + + diff --git a/src/cartservice/tests/cartservice.tests.csproj b/src/cartservice/tests/cartservice.tests.csproj index ce5d2a9e8e..707d436391 100644 --- a/src/cartservice/tests/cartservice.tests.csproj +++ b/src/cartservice/tests/cartservice.tests.csproj @@ -6,9 +6,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive