AlpineLinux 上 snapcraft 的可用性

Availability of snapcraft on AlpineLinux

我一直在寻找 snap 包管理系统和 alpine linux 之间的兼容性,但找不到任何相关资源。有没有计划让它在 alpine linux 上可用?在这方面有什么进展吗?

明确一点:这里有两个组件:snapd,负责 运行ning snaps,以及 Snapcraft,负责 building/creating snaps。您特别询问了 Snapcraft,它与 snapd 不同,目前是 Ubuntu-specific。这是因为它假定构建包和阶段包是 deb,并尝试使用 apt(和 apt python 绑定)来获取它们。

currently changing 可扩展性更强,可能会首先添加 RPM 支持。 Alpine 可能需要 apk 那里的支持。

另一个即将推出的功能是默认在 lxd 容器中构建。这可能是更简单的路径,Snapcraft 可以 运行 在 Alpine 上原生,然后使用 Ubuntu 容器构建包。

如果您对 snapd 感到好奇,可以从 this table that Alpine does not currently seem to be a target. However, please do log a bug 请求将其放在路线图上看到。