containerd / nydus-snapshotter

A containerd snapshotter with data deduplication and lazy loading in P2P fashion
https://nydus.dev/
Apache License 2.0
172 stars 99 forks source link

release: Provide s390x and arm64 released tarballs #548

Closed fidencio closed 8 months ago

fidencio commented 1 year ago

Confidential Containers is now depending on the nydus-snapshotter, and having an official release for the architecures we support (amd64, which is already there; and s390x) and will support in the future (arm64) would be amazing!

imeoer commented 1 year ago

Have you time to take a look? @sctb512 @changweige

sctb512 commented 1 year ago

Have you time to take a look? @sctb512 @changweige

Yes, it is necessary to release multi-architecture packages. I will look into it soon.

sctb512 commented 1 year ago

The binaries we released are now statically linked.

$ wget https://github.com/containerd/nydus-snapshotter/releases/download/v0.13.3/nydus-snapshotter-v0.13.3-x86_64.tgz
$ tar -zxvf nydus-snapshotter-v0.13.3-x86_64.tgz
$ ldd nydus-snapshotter/*
nydus-snapshotter/containerd-nydus-grpc:
    not a dynamic executable
nydus-snapshotter/nydus-overlayfs:
    not a dynamic executable
nydus-snapshotter/optimizer-nri-plugin:
    not a dynamic executable
nydus-snapshotter/optimizer-server:
    statically linked

So, I believe it can run on different architectures now.

sctb512 commented 1 year ago

Additionally, we can release packages for different architectures as well. Reference to https://github.com/containerd/containerd/releases/tag/v1.7.7

sctb512 commented 1 year ago

Related to https://github.com/containerd/nydus-snapshotter/pull/418