Initial import

This commit is contained in:
Yaakov Selkowitz 2026-05-15 13:23:52 -04:00
commit 29e84fb1e2

27
container.yaml Normal file
View file

@ -0,0 +1,27 @@
flatpak:
id: org.fedoraproject.Sdk.Extension.dotnet10
branch: f44
build-extension: true
runtime: org.fedoraproject.Sdk
runtime-version: f44
sdk: org.fedoraproject.Sdk
name: f44/dotnet10.0
component: dotnet10.0-flatpak
packages:
- dotnet-host
- dotnet-runtime-10.0
- dotnet-runtime-dbg-10.0
- dotnet-sdk-10.0
- dotnet-sdk-aot-10.0
- dotnet-sdk-dbg-10.0
- aspnetcore-runtime-dbg-10.0
- dotnet-sdk-10.0-flatpak-config
# for cleanup-commands (part of runtime)
- coreutils-single
cleanup-commands: |
mkdir -p /app/bin /app/lib/
mv /usr/lib64/dotnet/* /app/lib/
ln -s ../lib/dotnet /app/bin/
echo -e "#!/bin/sh\nmkdir -p /app/bin /app/lib/dotnet\ncp -r /usr/lib/sdk/dotnet10/lib/{dotnet,host,shared} /app/lib/dotnet/\nln -s ../lib/dotnet/dotnet /app/bin/" > /app/bin/install.sh
echo -e "#!/bin/sh\n/usr/lib/sdk/dotnet10/bin/install.sh\ncp -r /usr/lib/sdk/dotnet10/lib/sdk /app/lib/dotnet/" > /app/bin/install-sdk.sh
chmod +x /app/bin/install.sh /app/bin/install-sdk.sh