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
992c9f5e2a
commit
35adc2fdee
1 changed files with 2 additions and 4 deletions
|
@ -10,11 +10,9 @@ phases:
|
|||
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
|
||||
- uname -a
|
||||
- java -version
|
||||
- yum install openjdk-17-jdk -y
|
||||
- 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
|
||||
- sudo dnf update -y
|
||||
- sudo dnf install java-17-amazon-corretto-devel
|
||||
- java -version
|
||||
- javac -version
|
||||
build:
|
||||
commands:
|
||||
- echo Build started on `date`
|
||||
|
|
Loading…
Reference in a new issue