Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<!-- Hosting -->
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.1" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Systemd" Version="10.0.1" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.1" />
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.2" />

<!-- DI -->
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.1" />
Expand Down Expand Up @@ -87,7 +87,7 @@
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />

<!-- Analyzers-->
<GlobalPackageReference Include="Meziantou.Analyzer" Version="2.0.276">
<GlobalPackageReference Include="Meziantou.Analyzer" Version="2.0.277">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</GlobalPackageReference>
Expand Down Expand Up @@ -133,7 +133,7 @@
<PackageVersion Include="GitHubActionsTestLogger" Version="3.0.1" />
<PackageVersion Include="Verify" Version="$(VerifyVersion)" />
<PackageVersion Include="Verify.TUnit" Version="$(VerifyVersion)" />
<PackageVersion Include="TUnit" Version="1.10.0" />
<PackageVersion Include="TUnit" Version="1.11.28" />



Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0.101-alpine3.23 AS builder
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine3.23 AS builder
COPY . /source
WORKDIR source

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / release

Relative workdir without an absolute workdir declared within the build can have unexpected results if the base image changes

WorkdirRelativePath: Relative workdir "source" can have unexpected results if the base image changes More info: https://docs.docker.com/go/dockerfile/rule/workdir-relative-path/
RUN dotnet publish ./src/PaperMalKing/PaperMalKing.csproj -c Release -o /app --no-self-contained -r linux-musl-x64 /p:DefineConstants=IsInContainer /p:IsInContainer=true

FROM mcr.microsoft.com/dotnet/aspnet:10.0.1-alpine3.23 AS final
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine-extra AS final
LABEL org.opencontainers.image.source="https://github.com/TanteiBot/Tantei"
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

RUN apk add --upgrade --no-cache icu-data-full icu-libs tzdata

COPY --from=builder /app /home/app
WORKDIR /home/app
ENTRYPOINT ["dotnet", "PaperMalKing.dll"]
Loading