mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Create BuildImage.sh
This commit is contained in:
parent
5aad449ddc
commit
96761db6e9
1 changed files with 7 additions and 0 deletions
7
BuildImage.sh
Normal file
7
BuildImage.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
sudo rm -rf /home/jenkins/centos_data/apps/java-app/
|
||||
git clone https://github.com/ametgud4u/spring-petclinic.git /home/jenkins/centos_data/apps/java-app/
|
||||
|
||||
echo "*****************************************"
|
||||
echo "*****************Build*******************"
|
||||
docker run --rm -ti -v $PWD/java-app:/apps -v /root/.m2/:/root/.m2/ -w /apps/ maven3:alphine "$@"
|
Loading…
Reference in a new issue