Skip to content

Commit 5834b16

Browse files
authored
Merge pull request #61 from BennyFranciscus/add-zerg-fix
Add zerg: C# io_uring TCP server with zero-copy buffer rings (~22⭐)
2 parents 275000d + 6410609 commit 5834b16

6 files changed

Lines changed: 884 additions & 0 deletions

File tree

frameworks/zerg/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0-preview AS build
2+
3+
# Install clang for NativeAOT linking
4+
RUN apt-get update && apt-get install -y --no-install-recommends clang zlib1g-dev && rm -rf /var/lib/apt/lists/*
5+
6+
WORKDIR /app
7+
COPY . .
8+
9+
RUN dotnet publish -c Release -o out
10+
11+
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-preview
12+
WORKDIR /app
13+
COPY --from=build /app/out .
14+
EXPOSE 8080
15+
ENTRYPOINT ["./zerg-httparena"]

0 commit comments

Comments
 (0)