Skip to content

mattrobenolt/zig-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Docker Images

Unofficial Docker images for the Zig programming language compiler.

Published to GitHub Container Registry at ghcr.io/mattrobenolt/zig.

Images

  • Debian (glibc): ghcr.io/mattrobenolt/zig:0.15.2 or ghcr.io/mattrobenolt/zig:0.15.2-debian
  • Alpine (musl): ghcr.io/mattrobenolt/zig:0.15.2-alpine

Both support linux/amd64 and linux/arm64.

Usage

FROM ghcr.io/mattrobenolt/zig:0.15.2 AS builder
WORKDIR /app
COPY . .
RUN zig build -Doptimize=ReleaseFast

FROM debian:bookworm-slim
COPY --from=builder /app/zig-out/bin/myapp /usr/local/bin/myapp
ENTRYPOINT ["myapp"]

Security

Images are built following Zig's documented best practices. All downloads are cryptographically verified using minisign against the Zig Software Foundation's public key.

License

MIT License. See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages