From 9cfb6db4402a12cd4628a395f769c33daec7b69a Mon Sep 17 00:00:00 2001 From: Joan Date: Thu, 25 Oct 2018 10:37:42 +0200 Subject: [PATCH] docker build --- Jenkinsfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1a3732865..e20f90de5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } }