Zig: Official DockerHub images for zig

Created on 8 Dec 2020  路  2Comments  路  Source: ziglang/zig

Hey, I see a handful of different "zig" images on DockerHub, including some that can build zig itself. But I don't see an official image that has the zig compiler installed and ready for use. Can we release official images for this?

That way, developers and CI maintainers can rely on a more stable, community tested development environment for easily building Zig programs. As opposed to having to install Zig from scratch each time.

https://hub.docker.com/

Most helpful comment

No need for docker, all the linux tarballs we provide are statically compiled. They work inside a FROM scratch image.

All 2 comments

No need for docker, all the linux tarballs we provide are statically compiled. They work inside a FROM scratch image.

Yes, at a philosphical level there is no need for a Docker image. Rather, as a practical matter is is very helpful to have a container handy, for newbies and CI managers so they don't have to work with tarballs themselves.

Example:

https://hub.docker.com/r/mcandre/docker-zig

Was this page helpful?
0 / 5 - 0 ratings