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
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
|
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
|
||||||
- uname -a
|
- uname -a
|
||||||
- java -version
|
- java -version
|
||||||
- yum install openjdk-17-jdk -y
|
- sudo dnf update -y
|
||||||
- update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
|
- sudo dnf install java-17-amazon-corretto-devel
|
||||||
- update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
|
|
||||||
- java -version
|
- java -version
|
||||||
- javac -version
|
|
||||||
build:
|
build:
|
||||||
commands:
|
commands:
|
||||||
- echo Build started on `date`
|
- echo Build started on `date`
|
||||||
|
|
Loading…
Reference in a new issue