docker build

This commit is contained in:
Joan Sanchez 2018-10-25 10:37:42 +02:00
parent e671e20c9b
commit 9cfb6db440
1 changed files with 3 additions and 6 deletions

9
Jenkinsfile vendored
View File

@ -39,11 +39,8 @@ node {
} */
stage ('Generating new dockers') {
//docker.build('vn-loopback:latest ./services/loopback/');
sh "/var/run/docker.sock build -t vn-loopback:latest ./services/loopback/"
// sh "docker-compose up -d --build"
//sh "docker image prune -f"
sh "docker build -t vn-loopback:latest ./services/loopback/"
sh "docker-compose up -d --build"
sh "docker image prune -f"
}
}