ci: add .NET 10 NativeAOT AotAnywhere builder [CI]
ci/woodpecker/push/verify Pipeline failed
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/dev-image unknown status

This commit is contained in:
justme committed 2026-10-10 04:36:47 -07:00
1 parent 0d08e90dab
commit a1101424d2
5 files changed
+52 -13

No files matched your search

@@ -1,5 +1,7 @@
# Run all build commands on the native amd64 runner. AotAnywhere cross-links
# the NativeAOT output, so an ARM64 build never needs QEMU.
ARG NATIVEAOT_BUILDER_IMAGE=localhost/moshiro-dotnet10-nativeaot-aotanywhere:ci
FROM --platform=linux/arm64 alpine:3.24 AS arm64-apk-keys
FROM --platform=linux/amd64 alpine:3.24 AS runtime-libs
@@ -19,7 +21,7 @@ RUN set -eu; \
for package do tar -xzf "$package" -C /tmp/runtime-root; done; \
cp -a /tmp/runtime-root/usr/lib/*.so* /out/runtime/
FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:10.0-noble-aot AS build
FROM --platform=linux/amd64 ${NATIVEAOT_BUILDER_IMAGE} AS build
WORKDIR /src/backend
COPY restore/backend/ ./