This commit is contained in:
Chuck Lantz 2019-04-10 15:07:51 -07:00
Родитель 1e5aa2faaf
Коммит d6074236d6
69 изменённых файлов: 123 добавлений и 106 удалений

Просмотреть файл

@ -104,8 +104,8 @@ If you want to create a new definition:
📄 devcontainer.json
📄 Dockerfile (optional)
📄 docker-compose.yml (optional)
📄 ignore
📁 test-project (optional)
📄 .npmignore
📄 README.md
```
@ -113,7 +113,7 @@ If you want to create a new definition:
Note that any additional assets can be included as needed, but keep in mind that these will overlay on top of an existing project. Keeping these files in the `.devcontainer` should reduce the chances of something conflicting but note that any command that are run are relative to the root of the project, so you'll need to include `.devcontainer` in any path references.
Anything you don't want added to a project should be referenced in [glob](https://facelessuser.github.io/wcmatch/glob/) form in `.devcontainer/ignore` with paths relative to the root of the folder. Create a `README.md` in the folder with a brief description of the purpose of the container definition and any manual steps required to use it.
Anything you don't want added to a project should be referenced in [glob](https://facelessuser.github.io/wcmatch/glob/) form in `.npmignore` with paths relative to the root of the folder. Create a `README.md` in the folder with a brief description of the purpose of the container definition and any manual steps required to use it.
4. Commit your changes and submit a PR - we'll take a look at it, provide any needed feedback, and then merge it in! We appreciate any and all feedback!!

Просмотреть файл

@ -1,8 +1,8 @@
{
"name": "Dev Container Definition Template - Docker Compose",
"dockerComposeFile": "../.devcontainer/docker-compose.yml",
"dockerComposeFile": ".devcontainer/docker-compose.yml",
"service": "your-service-name-here",
"volume": "app",
"workspaceFolder": "/workspace",
"extensions": [
"mutantdino.resourcemonitor"
]

Просмотреть файл

@ -14,7 +14,7 @@ services:
- "3000:3000" # Application port to forward
volumes:
- .:/app # This is where VS Code should expect to find your project's source code, value of "volume" in .vscode/devContainer.json
- ..:/workspace # This is where VS Code should expect to find your project's source code, value of "volume" in .vscode/devContainer.json
command: sleep infinity # This prevents the container from shutting down if you stop your application

Просмотреть файл

@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -26,5 +26,5 @@
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See [LICENSE](../../LICENSE).
Licensed under the MIT License. See [LICENSE](../../LICENSE).

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "Dev Container Definition Template - Dockerfile",
"dockerFile": "../.devcontainer/Dockerfile",
"dockerFile": ".devcontainer/Dockerfile",
"appPort": 3000,
"extensions": [
"mutantdino.resourcemonitor"

Просмотреть файл

@ -1,6 +0,0 @@
README.md
test-project
.vscode/launch.json
.vscode/launch.test.json
.vscode/settings.json
.vscode/tasks.json

Просмотреть файл

@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,6 +0,0 @@
../README.md
../test-project
../.vscode/launch.json
../.vscode/launch.test.json
../.vscode/settings.json
../.vscode/tasks.json

Просмотреть файл

@ -1,5 +1,2 @@
.npmignore
.vscode
test-project
ignore
README.md

Просмотреть файл

@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

4
containers/go/.npmignore Normal file
Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,6 +0,0 @@
README.md
test-project
.vscode
src
Cargo.lock
Cargo.toml

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore

Просмотреть файл

@ -1,3 +0,0 @@
README.md
test-project
.vscode

Просмотреть файл

@ -0,0 +1,4 @@
README.md
test-project
.vscode
.npmignore