diff --git a/manifest.json b/manifest.json index 4247e77e32..d1299101bb 100644 --- a/manifest.json +++ b/manifest.json @@ -161,6 +161,16 @@ "baseImage": "public.ecr.aws/lambda/provided:al2023" } }, + { + "displayName": "dotnet9 aot (prov.al2023)", + "runtime": "provided.al2023", + "handler": "bootstrap", + "path": "dotnet9_aot_on_provided_al2023", + "architectures": ["x86_64", "arm64"], + "image": { + "baseImage": "public.ecr.aws/lambda/provided:al2023" + } + }, { "displayName": "java11", "runtime": "java11", diff --git a/s3-uploader/runtimes/dotnet8_aot_on_provided_al2023/Dockerfile b/s3-uploader/runtimes/dotnet8_aot_on_provided_al2023/Dockerfile index 4fe80e0a53..5608adcaf4 100644 --- a/s3-uploader/runtimes/dotnet8_aot_on_provided_al2023/Dockerfile +++ b/s3-uploader/runtimes/dotnet8_aot_on_provided_al2023/Dockerfile @@ -4,7 +4,7 @@ ARG ARCH WORKDIR /tmp COPY src . RUN yum update -y && yum install -y clang zlib-devel krb5-devel openssl-devel zip gzip tar wget -RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh && ./dotnet-install.sh --version latest +RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh && ./dotnet-install.sh --channel 8.0 ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 ENV SSL_CERT_FILE=/tmp/noop RUN /root/.dotnet/dotnet publish --configuration Release --arch $ARCH --output /tmp/publish diff --git a/s3-uploader/runtimes/dotnet9_aot_on_provided_al2023/Dockerfile b/s3-uploader/runtimes/dotnet9_aot_on_provided_al2023/Dockerfile index 4fe80e0a53..f64f7fef7e 100644 --- a/s3-uploader/runtimes/dotnet9_aot_on_provided_al2023/Dockerfile +++ b/s3-uploader/runtimes/dotnet9_aot_on_provided_al2023/Dockerfile @@ -4,7 +4,7 @@ ARG ARCH WORKDIR /tmp COPY src . RUN yum update -y && yum install -y clang zlib-devel krb5-devel openssl-devel zip gzip tar wget -RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh && ./dotnet-install.sh --version latest +RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && chmod +x ./dotnet-install.sh && ./dotnet-install.sh --channel 9.0 ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 ENV SSL_CERT_FILE=/tmp/noop RUN /root/.dotnet/dotnet publish --configuration Release --arch $ARCH --output /tmp/publish