浏览代码

Update Jenkinsfile

azatsafin 4 年之前
父节点
当前提交
af9fc5b665
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Jenkinsfile

+ 4 - 0
Jenkinsfile

@@ -35,6 +35,10 @@ spec:
       - name: cache
       - name: cache
         mountPath: /tmp/repository
         mountPath: /tmp/repository
   - name: docker-daemon
   - name: docker-daemon
+    resources:
+      limits:
+        memory: 512Mi
+        cpu: "500m"
     image: docker:19.03.1-dind
     image: docker:19.03.1-dind
     securityContext:
     securityContext:
       privileged: true
       privileged: true