mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 16:55: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:
|
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
|
- uname -a
|
||||||
- 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
|
- java -version
|
||||||
build:
|
build:
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue