From c005029bc50c66ab91f4ca3a6abb1b23079e60c8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 18 Aug 2023 20:40:01 -0400 Subject: [PATCH] add buildspec.yml file --- buildspec.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 8b75a9464..4b77e6b2b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,16 +3,13 @@ version: 0.2 phases: install: runtime-versions: - java: latest + java: corretto17 pre_build: commands: - AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5) - REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com - uname -a - java -version - - dnf - - dnf install java-17-amazon-corretto-devel - - java -version build: commands: - echo Build started on `date`