我一直在尝试安装一个存在于高山港口的软件包特别是那个,但我找不到如何。甚至可能吗?如果是,如何?
您在
问题中定义的包filebeat
位于testing
存储库edge
分支中。默认情况下,高山容器中没有此类存储库。
为了在 alpine 平台上安装 filebeat
软件包,我们需要:
1. 添加testing
存储库:
/ # echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
2. 安装filebeat
包:
/ # apk add --no-cache filebeat
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
WARNING: This apk-tools is OLD! Some packages might not function properly.
(1/1) Installing filebeat (5.6.3-r0)
Executing busybox-1.27.2-r7.trigger
OK: 20 MiB in 12 packages