LookingGlass/Dockerfile
Renovate 0be0aed08d
chore(deps): update dotnet monorepo (#21)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Microsoft.AspNetCore.OpenApi](https://asp.net/) ([source](https://github.com/dotnet/aspnetcore)) | nuget | patch | `9.0.2` -> `9.0.3` |
| [Microsoft.EntityFrameworkCore](https://docs.microsoft.com/ef/core/) ([source](https://github.com/dotnet/efcore)) | nuget | patch | `9.0.2` -> `9.0.3` |
| [mcr.microsoft.com/dotnet/aspnet](https://github.com/dotnet/aspnetcore) | stage | digest | `adc89f8` -> `4f0ad31` |
| [mcr.microsoft.com/dotnet/sdk](https://github.com/dotnet/sdk) | final | digest | `7f8e8b1` -> `d7f4691` |

---

### Release Notes

<details>
<summary>dotnet/aspnetcore (Microsoft.AspNetCore.OpenApi)</summary>

### [`v9.0.3`](https://github.com/dotnet/aspnetcore/releases/tag/v9.0.3): .NET 9.0.3

[Release](https://github.com/dotnet/core/releases/tag/v9.0.3)

#### What's Changed

-   Update branding to 9.0.3 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/aspnetcore/pull/60198
-   \[release/9.0] Fix branding by [@&#8203;wtgodbe](https://github.com/wtgodbe) in https://github.com/dotnet/aspnetcore/pull/60029
-   \[release/9.0] Update to MacOS 15 in Helix by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/60238
-   \[release/9.0] Revert "Revert "Use the latest available jdk"" by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/60229
-   \[release/9.0] Update `HtmlAttributePropertyHelper` to correctly follow the `MetadataUpdateHandlerAttribute` contract by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/59908
-   \[release/9.0] Fix skip condition for java tests by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/60242
-   \[release/9.0] (deps): Bump src/submodules/googletest from `7d76a23` to `e235eb3` by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/dotnet/aspnetcore/pull/60151
-   \[release/9.0] Readd DiagnosticSource to KestrelServerImpl by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/60202
-   \[release/9.0] Redis distributed cache: add HybridCache usage signal by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/aspnetcore/pull/59886
-   \[release/9.0] Update dependencies from dotnet/arcade by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/aspnetcore/pull/59952
-   \[release/9.0] Update dependencies from dotnet/extensions by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/aspnetcore/pull/59951
-   \[release/9.0] Update remnants of azureedge.net by [@&#8203;sebastienros](https://github.com/sebastienros) in https://github.com/dotnet/aspnetcore/pull/60263
-   \[release/9.0] Update dependencies from dotnet/extensions by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/aspnetcore/pull/60291
-   \[release/9.0] Centralize on one docker container by [@&#8203;wtgodbe](https://github.com/wtgodbe) in https://github.com/dotnet/aspnetcore/pull/60298
-   Revert "\[release/9.0] Update remnants of azureedge.net" by [@&#8203;wtgodbe](https://github.com/wtgodbe) in https://github.com/dotnet/aspnetcore/pull/60323
-   Merging internal commits for release/9.0 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/aspnetcore/pull/60317

**Full Changelog**: https://github.com/dotnet/aspnetcore/compare/v9.0.2...v9.0.3

</details>

<details>
<summary>dotnet/efcore (Microsoft.EntityFrameworkCore)</summary>

### [`v9.0.3`](https://github.com/dotnet/efcore/releases/tag/v9.0.3): .NET 9.0.3

[Release](https://github.com/dotnet/core/releases/tag/v9.0.3)

#### What's Changed

-   \[release/9.0-staging] Fix to [#&#8203;35393](https://github.com/dotnet/efcore/issues/35393) - GroupJoin in EF Core 9 Returns Null for Joined Entities by [@&#8203;maumar](https://github.com/maumar) in https://github.com/dotnet/efcore/pull/35449
-   Merging internal commits for release/8.0 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/efcore/pull/35473
-   \[release/8.0] Update dependencies from dotnet/arcade by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/efcore/pull/35470
-   \[release/9.0] Update dependencies from dotnet/arcade by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/efcore/pull/35498
-   Merge branch 'release/9.0' into 'release/9.0-staging' by [@&#8203;AndriySvyryd](https://github.com/AndriySvyryd) in https://github.com/dotnet/efcore/pull/35542
-   \[release/9.0-staging] Make SnapshotModelProcessor idempotent. by [@&#8203;AndriySvyryd](https://github.com/AndriySvyryd) in https://github.com/dotnet/efcore/pull/35543
-   \[release/9.0] Update dependencies from dotnet/arcade by [@&#8203;dotnet-maestro](https://github.com/dotnet-maestro) in https://github.com/dotnet/efcore/pull/35572
-   \[automated] Merge branch 'release/8.0' => 'release/9.0' by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/efcore/pull/35474
-   Update branding to 9.0.3 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/efcore/pull/35584
-   Update branding to 8.0.14 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/efcore/pull/35583
-   \[automated] Merge branch 'release/8.0' => 'release/9.0' by [@&#8203;github-actions](https://github.com/github-actions) in https://github.com/dotnet/efcore/pull/35587
-   Merge branch 'release/9.0-staging' => 'release/9.0'  by [@&#8203;AndriySvyryd](https://github.com/AndriySvyryd) in https://github.com/dotnet/efcore/pull/35601
-   Merging internal commits for release/9.0 by [@&#8203;vseanreesermsft](https://github.com/vseanreesermsft) in https://github.com/dotnet/efcore/pull/35622

**Full Changelog**: https://github.com/dotnet/efcore/compare/v9.0.2...v9.0.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjYuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJLaW5kL1Jlbm92YXRlIl19-->

Reviewed-on: #21
Co-authored-by: Renovate <renovate@csw.im>
Co-committed-by: Renovate <renovate@csw.im>
2025-03-28 11:28:03 -04:00

23 lines
781 B
Docker

FROM mcr.microsoft.com/dotnet/aspnet:9.0@sha256:4f0ad314f83e6abeb6906e69d0f9c81a0d2ee51d362e035c7d3e6ac5743f5399 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:9.0@sha256:d7f4691d11f610d9b94bb75517c9e78ac5799447b5b3e82af9e4625d8c8d1d53 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["LookingGlass.csproj", "./"]
RUN dotnet restore "LookingGlass.csproj"
COPY . .
WORKDIR "/src/"
RUN dotnet build "LookingGlass.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "LookingGlass.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "LookingGlass.dll"]