Comments (1)
The default version of .NET in the latest CodeBuild image is 6.0. We have released a change to ensure the default version is set properly. We have now added .NET 8 to our latest image and you no longer need to install it manually. Please use the buildspec property phases/install/runtime-versions to select your preferred version of dotnet. See documentation here: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.phases.install
By default dotnet uses the latest version available. To set 6.0 as the default dotnet, we create a global.json file at the CodeBuild root directory(/codebuild) during the image build. The image previously did not have a global.json, and this global.json will apply to all subdirectories. To override this, a customer can select dotnet 8 in the buildspec which will create a new global.json file in the source directory(/codebuild/output/src), generate a global.json as part of their buildspec, or provide one in the source themselves. This will override the default global.json(in /codebuild) for the src directory. This allows us to have 6.0 as the default dotnet and allows customers to choose to use dotnet 8.0 if they choose to.
As mentioned the workaround will allow you to use the dotnet version you specify.
from aws-codebuild-docker-images.
Related Issues (20)
- Support podman in codebuild_build.sh
- Running aarch64 codebuild image on a x86_64 machine HOT 2
- No longer able to use "n 18.16.0" in build using aws/codebuild/amazonlinux2-x86_64-standard:5.0 HOT 9
- support dotnet version 8 HOT 2
- EMFILE and EBUSY errors in node 20 HOT 3
- [URGENT] Looking forward to add support for DotNET 8.0 in CodeBuild. HOT 1
- Python 3.12 runtime support HOT 1
- Add support for Node 20 in ARM images HOT 2
- PHP 8.3 Support HOT 4
- local CodeBuild does not seem to perform caching
- aws/codebuild/standard:7.0-24.1.13 and 23.12.14 failing Lambda layer Makefile SAM build
- Docker 25 support HOT 13
- Please update glibc HOT 1
- Unable to run 'apt-get' on aws/codebuild/amazonlinux2-x86_64-standard:5.0 HOT 3
- Feature request: Golang 1.22 support HOT 1
- Add browsers to aws/codebuild/standard:7.0 HOT 1
- Amazon Linux:2023 image not available (CodeBuild, CodePipeline) HOT 1
- Add support for Node 21 HOT 1
- Update sam to version 1.110.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-codebuild-docker-images.