@@ -4,11 +4,15 @@ update_fresh_container() {
4
4
echo " Upgrading and installing packages"
5
5
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update -y
6
6
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install alien libicu70 -y
7
+
7
8
if [ $? -ne 0 ]; then
8
9
exit 32
9
10
fi
10
11
sudo apt autoclean
11
12
13
+ sudo sed " s/--no-absolute-filenames//" /usr/share/perl5/Alien/Package/Rpm.pm > /tmp/Rpm.pm
14
+ sudo cp /tmp/Rpm.pm /usr/share/perl5/Alien/Package/Rpm.pm
15
+
12
16
echo " Initializing LXD environment"
13
17
sudo lxd init --preseed < /tmp/lxd-preseed.yaml
14
18
@@ -19,20 +23,21 @@ update_fresh_container() {
19
23
setup_dotnet_sdk () {
20
24
MIRROR=" https://mirror.lchs.network/pub/almalinux/9/AppStream/${ARCH} /os/Packages"
21
25
case " ${SDK} " in
26
+ 8)
27
+ PKGS=" dotnet-apphost-pack-8.0-8.0.5-1.el9_4 dotnet-host-8.0.5-1.el9_4"
28
+ PKGS=" ${PKGS} dotnet-hostfxr-8.0-8.0.5-1.el9_4 dotnet-targeting-pack-8.0-8.0.5-1.el9_4"
29
+ PKGS=" ${PKGS} dotnet-templates-8.0-8.0.105-1.el9_4 dotnet-runtime-8.0-8.0.5-1.el9_4"
30
+ PKGS=" ${PKGS} dotnet-sdk-8.0-8.0.105-1.el9_4 aspnetcore-runtime-8.0-8.0.5-1.el9_4"
31
+ PKGS=" ${PKGS} aspnetcore-targeting-pack-8.0-8.0.5-1.el9_4 netstandard-targeting-pack-2.1-8.0.105-1.el9_4"
32
+ PKGS=" ${PKGS} dotnet-runtime-dbg-8.0-8.0.5-1.el9_4 dotnet-sdk-dbg-8.0-8.0.105-1.el9_4 aspnetcore-runtime-dbg-8.0-8.0.5-1.el9_4"
33
+ ;;
22
34
7)
23
35
PKGS=" dotnet-apphost-pack-7.0-7.0.19-1.el9_4 dotnet-host-8.0.5-1.el9_4"
24
36
PKGS=" ${PKGS} dotnet-hostfxr-7.0-7.0.19-1.el9_4 dotnet-targeting-pack-7.0-7.0.19-1.el9_4"
25
37
PKGS=" ${PKGS} dotnet-templates-7.0-7.0.119-1.el9_4 dotnet-runtime-7.0-7.0.19-1.el9_4"
26
38
PKGS=" ${PKGS} dotnet-sdk-7.0-7.0.119-1.el9_4 aspnetcore-runtime-7.0-7.0.19-1.el9_4"
27
39
PKGS=" ${PKGS} aspnetcore-targeting-pack-7.0-7.0.19-1.el9_4 netstandard-targeting-pack-2.1-8.0.105-1.el9_4"
28
40
;;
29
- 6)
30
- PKGS=" dotnet-host-8.0.5-1.el9_4 dotnet-apphost-pack-6.0-6.0.30-1.el9_4"
31
- PKGS=" ${PKGS} dotnet-hostfxr-6.0-6.0.30-1.el9_4 dotnet-targeting-pack-6.0-6.0.30-1.el9_4"
32
- PKGS=" ${PKGS} dotnet-templates-6.0-6.0.130-1.el9_4 dotnet-runtime-6.0-6.0.30-1.el9_4"
33
- PKGS=" ${PKGS} dotnet-sdk-6.0-6.0.130-1.el9_4 aspnetcore-runtime-6.0-6.0.30-1.el9_4"
34
- PKGS=" ${PKGS} aspnetcore-targeting-pack-6.0-6.0.30-1.el9_4 netstandard-targeting-pack-2.1-8.0.105-1.el9_4"
35
- ;;
36
41
* )
37
42
echo " Unsupported architecture ${ARCH} " >&2
38
43
return 1
@@ -93,6 +98,7 @@ patch_runner() {
93
98
}
94
99
95
100
build_runner () {
101
+ export DOTNET_NUGET_SIGNATURE_VERIFICATION=false
96
102
echo " Building runner binary"
97
103
cd src
98
104
184
190
185
191
run " $@ "
186
192
exit $?
193
+
194
+
0 commit comments