aws-codebuild-docker-images icon indicating copy to clipboard operation
aws-codebuild-docker-images copied to clipboard

.NET 5 Release - runtime support

Open npetter opened this issue 6 years ago • 6 comments

Hi,

I know .NET 5 is not considered a LTS release, but I believe there is pretty significant interest in this particular release to warrant supporting that as a runtime in the codebuild images.

Specifically I believe it's in AWS' interest due to the performance improvents on ARM64, which is already used by large companies running on Graviton 2.

Thoughts?

npetter avatar Nov 11 '20 07:11 npetter

There is a commitment here of support soon https://aws.amazon.com/blogs/developer/net-5-on-aws/#:~:text=.NET%205%20in%20AWS%20CodeBuild%20is%20coming%20soon.

628426 avatar Nov 15 '20 04:11 628426

+1 For .net 5 support. Any update as to when this might be available? (or work-arounds for now - scripting the install of the sdk/runtime in the buildspec doesn't seem to work, it seems to install fine, no errors, but then it doesn't show up in the installed versions list nor does a build work.

We just updated our API to .Net 5 and now our automated code pipeline/code build/code deply process is broken

ngz82 avatar Dec 03 '20 08:12 ngz82

An available work around is to define your CodeBuild environment as a Docker container and update your CodeBuild project to pull that container as its build environment. This is what we are doing until .NET 5 support is available.

More on CodeBuild custom environments

Our use case is rather simple, but here is an example Dockerfile if you need a starting point

FROM mcr.microsoft.com/dotnet/sdk:5.0
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
    apt-get update && \
    apt-get install -y nodejs && \
    rm -rf /var/lib/apt/lists/*

dillon-odonovan avatar Dec 03 '20 14:12 dillon-odonovan

+1 to support dotnet 5.

I just ran into errors due to it's not supported - https://stackoverflow.com/questions/65546757/aws-codebuild-unknown-runtime-version-named-5-0-of-dotnet

vickyRathee avatar Jan 03 '21 05:01 vickyRathee

Added support in standard:5.0.

subinataws avatar Jan 09 '21 01:01 subinataws

Would it be possible to add .NET 5.0 to the Amazon Linux x86-64 image?

cdonnellytx avatar Aug 02 '21 20:08 cdonnellytx