Aws-codebuild-docker-images: Support for nodejs version 14

Created on 16 Jun 2020  路  7Comments  路  Source: aws/aws-codebuild-docker-images

Current version of nodejs is 14 (https://nodejs.org/en/)

Could we pls get support of this version in amazonlinux2* image pls?

version update

Most helpful comment

@arpowers - It will be a few weeks before CodeBuild's latest official image has support for v14. This release is in progress, but won't be enabled until it has rolled out to all Regions and tested. We'll provide an update, when this update is available.

All 7 comments

@ivanmartos - We'll support nodejs version 14 once it is LTS. As per https://nodejs.org/en/about/releases/, that would be after 10/20. You can use "n latest" or "n 14" in your buildspec to get nodejs 14 within CodeBuild provided image.

@subinataws I'm not following your comment about n latest or n 14. Here's an example buildspec.yml:

version: 0.2

phases:
  install:
    runtime-versions:
      nodejs: 12.x  # are you saying we can indicate to use node 14 here?

Also, in addition to amazonlinux2* images, can you please make node 14 available in aws/codebuild/standard:3.0 and aws/codebuild/standard:4.0?

@salimhamed - No, not in runtimes section, but in your build commands. node.js 14 was LTS today. Team will add that to the new/latest CodeBuild images with its next rollout.

version: 0.2

phases:
  build:
    commands:
      - n latest

@subinataws this live? LTS v14 is up!

@arpowers - It will be a few weeks before CodeBuild's latest official image has support for v14. This release is in progress, but won't be enabled until it has rolled out to all Regions and tested. We'll provide an update, when this update is available.

can we have any estimation for this being available? The last comment was 14 days ago and could be great when this could be done.

Was this page helpful?
0 / 5 - 0 ratings