Skip to content

Commit

Permalink
Update zebra
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Nov 15, 2023
1 parent 98c7abb commit 5605944
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
3 changes: 0 additions & 3 deletions frameworks/FSharp/giraffe/src/App/App.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableDefaultContentItems>false</EnableDefaultContentItems>

<!-- Settings applicable to JIT-based deployment -->
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 4 additions & 6 deletions frameworks/FSharp/zebra/src/App/App.fsproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<DebugType>portable</DebugType>
<AssemblyName>App</AssemblyName>
<OutputType>Exe</OutputType>
<EnableDefaultContentItems>false</EnableDefaultContentItems>
<!-- Settings applicable to JIT-based deployment -->
<TieredPGO>true</TieredPGO>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="Npgsql" Version="7.0.0" />
<PackageReference Include="Dapper" Version="2.1.21" />
<PackageReference Include="Npgsql" Version="8.0.0-rc.2" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
<PackageReference Update="FSharp.Core" Version="7.0.0" />
<PackageReference Update="FSharp.Core" Version="8.0.100" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions frameworks/FSharp/zebra/zebra-simple.dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0.100 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0.100 AS build
WORKDIR /app
COPY src/App .
RUN dotnet publish -c Release -o out

FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
# Full PGO
ENV DOTNET_TieredPGO 1
ENV DOTNET_TC_QuickJitForLoops 1
ENV DOTNET_TieredPGO 1
ENV DOTNET_TC_QuickJitForLoops 1
ENV DOTNET_ReadyToRun 0

ENV ASPNETCORE_URLS http://+:8080
Expand Down
8 changes: 4 additions & 4 deletions frameworks/FSharp/zebra/zebra.dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0.100 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0.100 AS build
WORKDIR /app
COPY src/App .
RUN dotnet publish -c Release -o out

FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
# Full PGO
ENV DOTNET_TieredPGO 1
ENV DOTNET_TC_QuickJitForLoops 1
ENV DOTNET_TieredPGO 1
ENV DOTNET_TC_QuickJitForLoops 1
ENV DOTNET_ReadyToRun 0

ENV ASPNETCORE_URLS http://+:8080
Expand Down

0 comments on commit 5605944

Please sign in to comment.