Skip to content
Snippets Groups Projects
Commit 729b5d0c authored by Jonas Leder's avatar Jonas Leder
Browse files

add docker certs

parent 3bfa97f0
Branches
No related tags found
No related merge requests found
......@@ -92,6 +92,10 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
{
'name': 'docker',
'path': '/var/run/docker.sock'
},
{
'name': 'certs',
'path': '/certs/client'
}
],
'commands': [
......@@ -107,10 +111,17 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
'name': 'docker',
'image': 'docker:dind',
'privileged': True,
'environment': {
'DOCKER_TLS_CERTDIR': '/certs'
},
'volumes': [
{
'name': 'docker',
'path': '/var/run/docker.sock'
},
{
'name': 'certs',
'path': '/certs/client'
}
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment