|
- // For format details, see https://aka.ms/devcontainer.json.
- {
- "name": "matrix-docker-ansible-deploy",
- "build": {
- "dockerfile": "Dockerfile",
- "context": ".."
- },
- "postCreateCommand": {
- "Fix Volume Permissions": "sudo chown -R $(whoami): /commandhistory"
- },
- "postAttachCommand": "bash",
- "mounts": [
- {
- "source": "${localEnv:SSH_AUTH_SOCK}",
- "target": "/agent.sock",
- "type": "bind"
- },
- {
- "source": "matrix-docker-ansible-deploy-bashhistory",
- "target": "/commandhistory",
- "type": "volume"
- }
- ],
- "containerEnv": {
- "SSH_AUTH_SOCK": "/agent.sock"
- },
- "customizations": {
- "vscode": {
- "extensions": [
- "EditorConfig.EditorConfig",
- "redhat.ansible",
- "redhat.vscode-yaml",
- "ms-python.python"
- ]
- }
- }
- }
|