syncthing-arm/Jenkinsfile-pod-template.yml
Julien Cabillot 44be22e0e5
Some checks failed
perso/syncthing-arm/pipeline/head There was a failure building this commit
import missing file
2021-01-04 16:27:13 -05:00

23 lines
451 B
YAML

apiVersion: v1
kind: Pod
metadata:
labels:
jenkins: 'true'
spec:
containers:
- name: jnlp
image: 'jcabillot/docker-inbound-agent-arm64'
- name: docker
image: docker:20.10-dind
securityContext:
privileged: true
#volumeMounts:
#- mountPath: '/var/run/docker.sock'
# name: docker-socket
#volumes:
#- name: docker-socket
# hostPath:
# path: '/var/run/docker.sock'
securityContext:
runAsUser: 0