docker-agent-arm64/Jenkinsfile-pod-template.yml
Julien Cabillot ba5ec1ad56
Some checks reported errors
perso/docker-agent-arm64/pipeline/head Something is wrong with the build of this commit
Import
2021-01-04 15:06:10 -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