File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -13,26 +13,27 @@ spec:
13
13
image: node:8.16.0-jessie
14
14
tty: true
15
15
env:
16
- - name: DOCKER_HOST
17
- value: tcp://localhost:2375
16
+ - name: DOCKER_HOST
17
+ value: tcp://localhost:2375
18
18
- name: dind-daemon
19
19
image: docker:18.06-dind
20
20
securityContext:
21
21
privileged: true
22
+ runAsUser: 0
22
23
volumeMounts:
23
24
- name: docker-graph-storage
24
25
mountPath: /var/lib/docker
25
26
- name: docker
26
27
image: docker:18-git
27
28
tty: true
28
- volumeMounts:
29
- - mountPath: /var/run/docker.sock
30
- name: docker-sock
29
+ env:
30
+ - name: DOCKER_HOST
31
+ value: tcp://localhost:2375
32
+ - name: HOME
33
+ value: /home/jenkins/agent
34
+ securityContext:
35
+ runAsUser: 1000
31
36
volumes:
32
- - name: docker-sock
33
- hostPath:
34
- path: /var/run/docker.sock
35
- type: File
36
37
- name: docker-graph-storage
37
38
emptyDir: {}
38
39
"""
You can’t perform that action at this time.
0 commit comments