mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
add buildspec.yml file
This commit is contained in:
parent
991b758bbe
commit
4114434b54
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ phases:
|
||||||
commands:
|
commands:
|
||||||
- AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5)
|
- AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5)
|
||||||
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
|
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install openjdk-17-jdk
|
||||||
|
- update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
|
||||||
|
- update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
|
||||||
|
- java -version
|
||||||
build:
|
build:
|
||||||
commands:
|
commands:
|
||||||
- echo Build started on `date`
|
- echo Build started on `date`
|
||||||
|
|
Loading…
Reference in a new issue