mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
add buildspec.yml file
This commit is contained in:
parent
4114434b54
commit
0f21eda027
1 changed files with 1 additions and 4 deletions
|
@ -8,10 +8,7 @@ phases:
|
|||
commands:
|
||||
- AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5)
|
||||
- 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
|
||||
- uname -a
|
||||
- java -version
|
||||
build:
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue