Add docker socket linking to building container

This commit is contained in:
Tanguy Herbron 2021-09-07 21:56:22 +02:00
parent 1e1fb642a0
commit 1d5bf8b6ca

View File

@ -9,6 +9,9 @@ platform:
steps: steps:
- name: deployment - name: deployment
image: alpine image: alpine
volumes:
- name: host_docker_socket
path: /var/run/docker.sock
commands: commands:
- echo "Setting up internal docker cli" - echo "Setting up internal docker cli"
- apk update && apk add docker docker-compose - apk update && apk add docker docker-compose
@ -20,6 +23,11 @@ steps:
branch: branch:
- ci-testing - ci-testing
volumes:
- name: host_docker_socket
host:
path: /var/run/docker.sock
node: node:
host: socrates host: socrates