1
0
Fork 0
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:
Simon Haas 2024-02-05 10:54:01 +01:00 committed by GitHub
parent 054b533eb5
commit 15a795c7ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -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": {}
},

View 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