1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

docker-outside-of-docker

This commit is contained in:
Simon Haas 2024-02-05 10:17:35 +00:00
parent 15a795c7ca
commit 234465fbe4
2 changed files with 2 additions and 2 deletions

View file

@ -1,12 +1,13 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine // README at: https://github.com/devcontainers/templates/tree/main/src/alpine
{ {
"name": "Alpine", "name": "ansible",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
//"image": "mcr.microsoft.com/devcontainers/base:ubuntu", //"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"service": "ansible", "service": "ansible",
"dockerComposeFile": "docker-compose.yml", "dockerComposeFile": "docker-compose.yml",
"features": { "features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers-contrib/features/ansible:2": {} "ghcr.io/devcontainers-contrib/features/ansible:2": {}
}, },

View file

@ -5,5 +5,4 @@ services:
image: mcr.microsoft.com/devcontainers/base:ubuntu image: mcr.microsoft.com/devcontainers/base:ubuntu
volumes: volumes:
- ..:/workspaces/ansible_collections/community/general - ..:/workspaces/ansible_collections/community/general
restart: always
command: sleep infinity command: sleep infinity