Explorar o código

modified dockerfile and jenkins file for CI

xiaoct %!s(int64=7) %!d(string=hai) anos
pai
achega
ade63fdf7b
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 1
      Dockerfile
  2. 1 0
      Jenkinsfile

+ 1 - 1
Dockerfile

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

+ 1 - 0
Jenkinsfile

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