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)
- 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 14
- 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
- Feature Request: `dotnet8` Lambda compute image HOT 1
- aws/codebuild/standard:5.0 Build fails when file names have non english characters HOT 1
- Please provide a new standard:8.0 image based on Ubuntu 24.04 (noble)
- update the version in docker-compose.yml files HOT 5
- Add `setfacl` tool
- Running npm the first time on `aws/codebuild/standard:7.0` takes 12 seconds HOT 3
- npm logs are retained in images
- [BUG] up: logPrinter panicked with "send on closed channel" #11280 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.