up version
This commit is contained in:
parent
c6d0132b80
commit
f33b8e626b
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<AssemblyName>docker_exporter</AssemblyName>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
|
@ -23,10 +23,10 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Axinom.Toolkit" Version="14.0.0" />
|
||||
<PackageReference Include="Docker.DotNet" Version="3.125.2" />
|
||||
<PackageReference Include="Mono.Options" Version="5.3.0.1" />
|
||||
<PackageReference Include="prometheus-net" Version="3.4.0-pre-000082-546478d" />
|
||||
<PackageReference Include="Axinom.Toolkit" Version="14.2.0" />
|
||||
<PackageReference Include="Docker.DotNet" Version="3.125.12" />
|
||||
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
|
||||
<PackageReference Include="prometheus-net" Version="8.2.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build
|
||||
FROM 10.0.1.123:5000/debian:12-slim AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Separate layers here to avoid redoing dependencies on code change.
|
||||
|
@ -10,7 +10,7 @@ RUN dotnet restore
|
|||
COPY . .
|
||||
RUN dotnet publish -r linux-musl-x64 -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1-alpine AS runtime
|
||||
FROM 10.0.1.123:5000/debian:12-slim AS runtime
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/out .
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue