-
Notifications
You must be signed in to change notification settings - Fork 74
/
build.sh
executable file
·22 lines (19 loc) · 1 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
# Runs Tests and Creates Docker Image based on Spring Graal Native Image
echo '**************************************************************'
echo 'Creating Docker Image based on Spring Graal Native Image'
mvn -Pnative clean spring-boot:build-image
echo 'Docker Image based on Spring Graal Native Image Creation Completed!'
echo '**************************************************************'
# Creates Docker Image
echo '**************************************************************'
echo 'Creating Docker Image based on JVM'
mvn clean spring-boot:build-image
echo 'Docker Image based on JVM Creation Completed!'
echo '**************************************************************'
# Runs Tests and Creates Graal Native Image
echo '**************************************************************'
echo 'Creating Graal Native Image'
mvn -Pnative clean package -DskipNativeImage=false
echo 'Graal Native Image Creation Completed!'
echo '**************************************************************'