Ver Fonte

modified dockerfile and jenkins file for CI

xiaoct há 7 anos atrás
pai
commit
ade63fdf7b
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 1
      Dockerfile
  2. 1 0
      Jenkinsfile

+ 1 - 1
Dockerfile

@@ -4,7 +4,7 @@
 #####
 #####
 
 
 # Set the base image to Ubuntu
 # Set the base image to Ubuntu
-FROM Ubuntu
+FROM ubuntu
 # File Author / Maintainer
 # File Author / Maintainer
 # MAINTAINER name Chunteng Xiao
 # MAINTAINER name Chunteng Xiao
 
 

+ 1 - 0
Jenkinsfile

@@ -3,6 +3,7 @@ pipeline {
         dockerfile {
         dockerfile {
             filename 'Dockerfile'
             filename 'Dockerfile'
             customWorkspace '/usr/bi-web'
             customWorkspace '/usr/bi-web'
+            registryUrl 'https://registry.docker-cn.com'
             args '-p 80:80'
             args '-p 80:80'
         }
         }
     }
     }