Sign inSign up

teogisis/wolfpack-dotnet

By teogisis

โ€ขUpdated about 17 hours ago

๐Ÿบ Hardened Wolfi/apko .NET images โ€” no shell/SDK in production, daily rebuilds.

Image
0

126

teogisis/wolfpack-dotnet repository overview

โ wolfpack-dotnet

Hardened, minimal .NET container images built on Wolfiโ  with apkoโ  โ€” no distro, no shell, no SDK in production.

Rebuilt daily from Wolfi's rolling-release package repo, so security patches land automatically. Every build is scanned with Trivyโ ; results and an auto-generated SBOM are tracked on GitHubโ .

โ Tags

Two variants per .NET version โ€” 8, 10 (LTS):

TagContainsUse for
<version>.NET runtime + CA certs only. No shell, no SDK.Production runtime
<version>-devFull SDK, plus busybox (shell).Builder stage โ€” restoring and publishing

Each tag is overwritten with the newest build; there is no latest tag (pick a version explicitly).

โ Usage

Since the production image has no shell or SDK, publish in a -dev builder stage and copy the output into the hardened final image:

# ---- Builder: has SDK + shell ----
FROM teogisis/wolfpack-dotnet:8-dev AS builder
WORKDIR /app
COPY . .
RUN dotnet publish -c Release -o /app/publish

# ---- Final: hardened, no SDK, no shell ----
FROM teogisis/wolfpack-dotnet:8
WORKDIR /app
COPY --from=builder /app/publish .
ENTRYPOINT ["/usr/bin/dotnet", "myapp.dll"]

Runs as a non-root user (uid/gid 65532) by default. DOTNET_RUNNING_IN_CONTAINER and ASPNETCORE_HTTP_PORTS are set in both variants.

โ Also in this family

wolfpack-pythonโ  ยท wolfpack-nodeโ  ยท wolfpack-javaโ 

โ Source

Build configs, CI pipeline, and up-to-date vulnerability scan results: github.com/Theo-Gkisis/wolfpackโ 

Tag summary

Content type

Image

Digest

sha256:ca0ac2aa7โ€ฆ

Size

262.7 MB

Last updated

about 17 hours ago

docker pull teogisis/wolfpack-dotnet:10-dev