stagex/zlib

Sponsored OSS

By stagex

Updated over 1 year ago

A compression/decompression Library

Image
Languages & frameworks
Operating systems
0

50K+

stagex/zlib repository overview

[Stageˣ]

git://codeberg.org:stagex/stagex | matrix://#stagex:matrix.org | ircs://irc.oftc.net:6697#stagex


Usage

You can do anything with these images you would with most any other musl based containerized linux distro, only with high supply chain integrity and determinism.

Unlike a traditional Linux distro, [Stageˣ] is OCI native and uses OCI images for packaging and is optimized for determinism first. This means instead of using something like "apt install" to install your packages, you need to include one line in your project for each dependency you require, preferably locked to a specific release/hash

Examples

A Rust hello world:

FROM stagex/busybox as build
COPY --from=stagex/rust . /
COPY --from=stagex/gcc . /
COPY --from=stagex/binutils . /
COPY --from=stagex/libunwind . /
RUN printf 'fn main(){ println!("Hello World!"); }' > hello.rs
RUN rustc hello.rs
FROM scratch
COPY --from=build /home/user/hello .
CMD ["./hello"]

An Python hello world:

FROM scratch
COPY --from=stagex/python . /
COPY --from=stagex/musl . /
COPY <<-EOF test.py
	print("Hello World")
EOF
CMD ["python", "hello.py"]

For more documentation and examples please refer to our git repository:

https://codeberg.org/stagex/stagex

Tag summary

Content type

Image

Digest

sha256:09d63654e

Size

164.7 kB

Last updated

over 1 year ago

docker pull stagex/zlib

This week's pulls

Pulls:

909

Last week