File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM mcr.microsoft.com/dotnet/sdk:6 .0-bullseye-slim
15
+ FROM mcr.microsoft.com/dotnet/sdk:7 .0-bullseye-slim
16
16
17
17
RUN mkdir -p /src/workspace
18
18
WORKDIR /src/workspace
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM mcr.microsoft.com/dotnet/sdk:6 .0-bullseye-slim
15
+ FROM mcr.microsoft.com/dotnet/sdk:7 .0-bullseye-slim
16
16
17
17
RUN mkdir -p /pre
18
18
WORKDIR /pre
@@ -40,7 +40,13 @@ RUN dotnet publish -c Release -o qps_worker perf/benchmarkapps/QpsWorker/
40
40
41
41
# Note that the QpsWorker built by "dotnet publish" in the previous step needs to be runnable
42
42
# with the runtime image below.
43
- FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
43
+ FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim
44
+
45
+ # Enable dynamic profile-guided optimization
46
+ # https://gist.github.com/EgorBo/dc181796683da3d905a5295bfd3dd95b
47
+ ENV DOTNET_ReadyToRun=0
48
+ ENV DOTNET_TieredPGO=1
49
+ ENV DOTNET_TC_QuickJitForLoops=1
44
50
45
51
RUN mkdir -p /execute
46
52
WORKDIR /execute
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM mcr.microsoft.com/dotnet/aspnet:6 .0-bullseye-slim
15
+ FROM mcr.microsoft.com/dotnet/aspnet:7 .0-bullseye-slim
16
16
17
17
RUN mkdir -p /src/workspace
18
18
WORKDIR /src/workspace
You can’t perform that action at this time.
0 commit comments