mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 13:00:41 +02:00
bump .NET8.0 version of the docker-compose generator
This commit is contained in:
parent
2a9cf197cf
commit
aa55e7c525
@ -1,5 +1,5 @@
|
||||
#
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0.401-bullseye-slim AS builder
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-bookworm-slim AS builder
|
||||
WORKDIR /source
|
||||
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj
|
||||
# Cache some dependencies
|
||||
@ -8,7 +8,7 @@ COPY src/. .
|
||||
RUN dotnet publish --output /app/ --configuration Release
|
||||
|
||||
#
|
||||
FROM mcr.microsoft.com/dotnet/runtime:6.0.9-bullseye-slim
|
||||
FROM mcr.microsoft.com/dotnet/runtime:8.0.0-bookworm-slim
|
||||
LABEL org.btcpayserver.image=docker-compose-generator
|
||||
WORKDIR /datadir
|
||||
WORKDIR /app
|
||||
|
@ -1,5 +1,5 @@
|
||||
# This is a manifest image, will pull the image with the same arch as the builder machine
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0.401-bullseye-slim AS builder
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-bookworm-slim AS builder
|
||||
WORKDIR /source
|
||||
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj
|
||||
# Cache some dependencies
|
||||
@ -8,7 +8,7 @@ COPY src/. .
|
||||
RUN dotnet publish --output /app/ --configuration Release
|
||||
|
||||
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program
|
||||
FROM mcr.microsoft.com/dotnet/runtime:6.0.9-bullseye-slim-arm32v7
|
||||
FROM mcr.microsoft.com/dotnet/runtime:8.0.0-bookworm-slim-arm32v7
|
||||
LABEL org.btcpayserver.image=docker-compose-generator
|
||||
WORKDIR /datadir
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# This is a manifest image, will pull the image with the same arch as the builder machine
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0.401-bullseye-slim AS builder
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-bookworm-slim AS builder
|
||||
WORKDIR /source
|
||||
COPY src/docker-compose-generator.csproj docker-compose-generator.csproj
|
||||
# Cache some dependencies
|
||||
@ -8,7 +8,7 @@ COPY src/. .
|
||||
RUN dotnet publish --output /app/ --configuration Release
|
||||
|
||||
# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program
|
||||
FROM mcr.microsoft.com/dotnet/runtime:6.0.9-bullseye-slim-arm64v8
|
||||
FROM mcr.microsoft.com/dotnet/runtime:8.0.0-bookworm-slim-arm64v8
|
||||
LABEL org.btcpayserver.image=docker-compose-generator
|
||||
WORKDIR /datadir
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net6.0</TargetFramework>
|
||||
<LangVersion>12</LangVersion>
|
||||
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
|
||||
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
|
||||
<RootNamespace>DockerGenerator</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="YamlDotNet" Version="8.0.0" />
|
||||
<PackageReference Include="YamlDotNet" Version="13.7.1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user