Update BuildImage.sh

This commit is contained in:
ametgud4u 2020-07-26 23:50:28 +05:30 committed by GitHub
parent 0d9a018ca8
commit 441de0a869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,7 @@
#!/bin/sh
# copying runtime to docker build path
sudo cp -f /home/jenkins/centos_data/apps/workspace/SpringPetClinic-Piple/target/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar /home/jenkins/centos_data/Build/
echo " *************************************** "
echo " ********** Build Docker Image********** "
echo " *************************************** "
cd /home/jenkins/centos_data/Build/ && docker-compose -f docker-compose-buildimage.yml build --no-cache
docker-compose -f docker-compose-buildimage.yml build --no-cache