File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/@aws-cdk/aws-codebuild/lib Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ export class Project extends ProjectBase {
629
629
props . cacheBucket . grantReadWrite ( this . role ) ;
630
630
}
631
631
632
- this . buildImage = ( props . environment && props . environment . buildImage ) || LinuxBuildImage . UBUNTU_18_04_STANDARD_1_0 ;
632
+ this . buildImage = ( props . environment && props . environment . buildImage ) || LinuxBuildImage . STANDARD_1_0 ;
633
633
634
634
// let source "bind" to the project. this usually involves granting permissions
635
635
// for the code build role to interact with the source.
@@ -951,7 +951,7 @@ export interface BuildEnvironment {
951
951
/**
952
952
* The image used for the builds.
953
953
*
954
- * @default LinuxBuildImage.UBUNTU_18_04_STANDARD_1_0
954
+ * @default LinuxBuildImage.STANDARD_1_0
955
955
*/
956
956
readonly buildImage ?: IBuildImage ;
957
957
@@ -1033,7 +1033,8 @@ export interface IBuildImage {
1033
1033
* @see https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html
1034
1034
*/
1035
1035
export class LinuxBuildImage implements IBuildImage {
1036
- public static readonly UBUNTU_18_04_STANDARD_1_0 = new LinuxBuildImage ( 'aws/codebuild/standard:1.0' ) ;
1036
+ public static readonly STANDARD_1_0 = new LinuxBuildImage ( 'aws/codebuild/standard:1.0' ) ;
1037
+ public static readonly STANDARD_2_0 = new LinuxBuildImage ( 'aws/codebuild/standard:2.0' ) ;
1037
1038
public static readonly UBUNTU_14_04_BASE = new LinuxBuildImage ( 'aws/codebuild/ubuntu-base:14.04' ) ;
1038
1039
public static readonly UBUNTU_14_04_ANDROID_JAVA8_24_4_1 = new LinuxBuildImage ( 'aws/codebuild/android-java-8:24.4.1' ) ;
1039
1040
public static readonly UBUNTU_14_04_ANDROID_JAVA8_26_1_1 = new LinuxBuildImage ( 'aws/codebuild/android-java-8:26.1.1' ) ;
You can’t perform that action at this time.
0 commit comments