From 585277ef62497123fefdc7bcd2c4b6da753fed5c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Aug 2023 21:45:30 -0400 Subject: [PATCH] add buildspec.yml codebuild.yml ecr.yml file --- buildspec.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index 85a90fcbd..04b4716f9 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,6 +8,9 @@ phases: commands: - AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5) - REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com + - wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add - + - sudo add-apt-repository 'deb https://apt.corretto.aws stable main' + - sudo apt-get update; sudo apt-get install -y java-17-amazon-corretto-jdk build: commands: - echo Build started on `date`