Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fix comments, raise visibility to appPort, postCreateCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed May 9, 2019
1 parent b6a1b82 commit 65bed35
Show file tree
Hide file tree
Showing 52 changed files with 361 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
// Add any extensions you want auto-installed here.
"extensions": [],

// Update the value of this line like to 'none' if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose"
// Update the value of this line to 'none' if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ services:
# security_opt:
# - seccomp:unconfined

# Overrides default command so things don't shut down after the process ends - useful for debugging.
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile",

// Use the optional 'appPort' property to expose ports not already in your Dockerfile
// Use the optional 'appPort' property to publish any ports you want to access.
"appPort": [],

// Add any extensions you want auto-installed here.
Expand All @@ -19,5 +19,8 @@
// Uncomment the next two lines if you will use a ptrace-based debugger like C++, Go, and Rust
// "--cap-add=SYS_PTRACE",
// "--security-opt", "seccomp=unconfined"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
8 changes: 6 additions & 2 deletions container-templates/image/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// Update the 'image' property with your Docker image name.
"image": "ubuntu:bionic",

// Use the optional 'appPort' property to expose ports not already in your Dockerfile
// Use the optional 'appPort' property to publish any ports you want to access.

"appPort": [],

// Add any extensions you want auto-installed here.
Expand All @@ -19,5 +20,8 @@
// Uncomment the next two lines if you will use a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE",
// "--security-opt", "seccomp=unconfined"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
8 changes: 7 additions & 1 deletion containers/azure-cli/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"dockerFile": "Dockerfile",
"extensions": [
"ms-vscode.azurecli"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"ms-vscode.csharp"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"ms-vscode.csharp"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"ms-azuretools.vscode-azurefunctions",
"vscjava.vscode-java-pack",
"redhat.vscode-xml"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"dbaeumer.vscode-eslint"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"dbaeumer.vscode-eslint"
]
],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
"ms-toolsai.vscode-ai",
"peterjausovec.vscode-docker"
],
"runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"]
"runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
8 changes: 7 additions & 1 deletion containers/azure-terraform/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,11 @@
"ms-vscode.azurecli",
"peterjausovec.vscode-docker"
],
"runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"]
"runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
11 changes: 8 additions & 3 deletions containers/cpp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
],
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
]
"--security-opt", "seccomp=unconfined"
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
8 changes: 7 additions & 1 deletion containers/dart/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"extensions": [
"dart-code.dart-code",
"msjsdiag.debugger-for-chrome"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
19 changes: 13 additions & 6 deletions containers/debian-9-git/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
{
"name": "Debian 9 & Git",
"dockerFile": "Dockerfile",
"appPort": [],
"runArgs": [
// Uncomment the next two lines if you will use a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE",
// "--security-opt", "seccomp=unconfined"
]

// Uncomment the next line to automatically install extensions.
// "extensions": [],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

// Uncomment the next line if you will use a ptrace-based debugger like C++, Go, and Rust.
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

}
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
{
// "See https://aka.ms/vscode-remote/devcontainer.json for format details."
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
"name": "Existing Docker Compose (Extend)",

// "Update the 'dockerComposeFile' list if you have more compose files or use different names."
// "The .devcontainer/docker-compose.yml file contains any overrides you need/want to make."
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],

// "The 'service' property is the name of the service for the container that VS Code should"
// "use. Update this value and .devcontainer/docker-compose.yml to the real service name."
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "your-service-name-here",

// "The optional 'workspaceFolder' property is the path VS Code should open by default when"
// "connected. This is typically a file mount in .devcontainer/docker-compose.yml"
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspace",

// "Add any extensions you want auto-installed here."
"extensions": [],
// Update the value of this line to 'none' if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",

// "Update the value of this line like to 'none' if you want to keep your containers running after VS Code shuts down."
"shutdownAction": "stopCompose"
// Uncomment the next line to automatically install extensions.
// "extensions": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ services:
# security_opt:
# - seccomp:unconfined

# Overrides default command so things don't shut down after the process ends - useful for debugging
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity

Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile",

// Use the optional 'appPort' property to expose ports not already in your Dockerfile
"appPort": [],
// Uncomment the next line to automatically install extensions.
// "extensions": [],

// Add any extensions you want auto-installed here.
"extensions": [],
// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

// The optional 'runArgs' property can be used to specify additional runtime arguments.
"runArgs": [
// Uncomment the next line if you want to use Docker from the container. See the docker-in-docker definition for details.
// "-v","/var/run/docker.sock:/var/run/docker.sock",

// Uncomment the next two lines if you will be using a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE",
// "--security-opt", "seccomp=unconfined"
// Uncomment the next line if you will be using a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"dockerComposeFile": "docker-compose.yml",
"service": "docker-in-docker",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"extensions": [
"peterjausovec.vscode-docker"
]
],

// Update the value of this line to 'none' if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
# This lets you avoid setting up Git again in the container
- ~/.gitconfig:/root/.gitconfig

# Forwards the Docker socket from one side ot the other
# Forwards the local Docker socket to the container.
- /var/run/docker.sock:/var/run/docker.sock

# Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust.
Expand All @@ -26,6 +26,6 @@ services:
# security_opt:
# - seccomp:unconfined

# Overrides default command so things don't shut down after the process ends - useful for debugging.
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity

9 changes: 8 additions & 1 deletion containers/docker-in-docker/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@
// Uncomment the next two lines if you will use a ptrace-based debugger like C++, Go, and Rust.
// "--cap-add=SYS_PTRACE",
// "--security-opt", "seccomp=unconfined"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
"extensions": [
"Ionide.Ionide-fsharp",
"ms-vscode.csharp"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
9 changes: 8 additions & 1 deletion containers/dotnetcore-2.1/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
"dockerFile": "Dockerfile",
"extensions": [
"ms-vscode.csharp"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
"extensions": [
"Ionide.Ionide-fsharp",
"ms-vscode.csharp"
]
],

// Uncomment the next line if you want to publish any ports.
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": []

}
Loading

0 comments on commit 65bed35

Please sign in to comment.