提交 c6c8770a 编写于 作者: J Jan Vorlicek 提交者: GitHub

Fix Alpine rootfs build (dotnet/core-setup#6879)

Alpine has moved to a new version of LLDB (8) and its dependency LLVM
libraries are now in the edge/main branch. This adds edge/main branch to
the apk add command commandline so that the dependencies can be found.

This is a copy of the same change made in dotnet/arcade. We should eventually
move core-setup to get the eng folder from arcade, but for now, we need
a quick solution.

Commit migrated from https://github.com/dotnet/core-setup/commit/8d023a6fea7824648ea860f6ba05d236a1641d54
上级 29ddde12
......@@ -180,6 +180,7 @@ if [[ "$__LinuxCodeName" == "alpine" ]]; then
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/main \
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/community \
-X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
-X http://dl-cdn.alpinelinux.org/alpine/edge/main \
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
add $__AlpinePackages
rm -r $__ApkToolsDir
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册