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

wait for docker socket

parent ccbf23b9
Branches
No related tags found
No related merge requests found
......@@ -86,10 +86,19 @@ def buildContainer(PHP_VERSION, ALPINE_VERSION, TESTING_REPO, PHP_SESSION):
]
},
{
'name': 'delay',
'image': 'alpine',
'name': 'wait for docker',
'image': 'archlinux',
'volumes': [
{
'name': 'sockets',
'path': '/var/run'
},
]
'commands': [
'sleep 5'
'''while [ ! -S /var/run/docker.sock ]; do
echo "Waiting for docker socket..."
sleep 1
done'''
]
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment