1
0
Fork 0

Try docker-in-docker
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Daniele Tricoli 2021-09-11 07:15:03 +02:00
parent 82bdfb250b
commit dd253db252
1 changed files with 16 additions and 1 deletions

View File

@ -6,8 +6,23 @@ name: default
steps:
- name: test
image: debian:11
privileged: true
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # To ensure docker started.
- apt update && apt install -y ansible docker.io python3-pip
- python3 -m pip install "molecule[lint,docker]"
- molecule test
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}