mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
docker-compose
This commit is contained in:
parent
054b533eb5
commit
15a795c7ca
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
{
|
||||
"name": "Alpine",
|
||||
// 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",
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/ansible:2": {}
|
||||
},
|
||||
|
|
9
.devcontainer/docker-compose.yml
Normal file
9
.devcontainer/docker-compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
ansible:
|
||||
image: mcr.microsoft.com/devcontainers/base:ubuntu
|
||||
volumes:
|
||||
- ..:/workspaces/ansible_collections/community/general
|
||||
restart: always
|
||||
command: sleep infinity
|
Loading…
Reference in a new issue