Sign inSign up

stagex/zip

Sponsored OSS

By stagex

•Updated almost 2 years ago

Creates PKZIP-compatible .zip files

Image
0

10K+

stagex/zip 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:8b76c8bcb…

Size

266.1 kB

Last updated

almost 2 years ago

docker pull stagex/zip

This week's pulls

Pulls:

6

Oct 5 to Oct 11