From 747b3be5d2474bb93d9754485484b873a1353494 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 22 Apr 2019 10:28:33 -0700 Subject: [PATCH 1/7] Fix bad links --- containers/azure-cli/README.md | 4 ++-- containers/azure-functions-dotnetcore-2.1/README.md | 4 ++-- containers/azure-functions-dotnetcore-latest/README.md | 4 ++-- containers/azure-functions-node-8/README.md | 4 ++-- containers/azure-functions-node-lts/README.md | 4 ++-- containers/azure-hdinsight-python-3/README.md | 4 ++-- containers/azure-machine-learning-python-3/README.md | 4 ++-- containers/azure-terraform/README.md | 4 ++-- containers/docker-existing-docker-compose/README.md | 4 ++-- containers/docker-existing-dockerfile/README.md | 4 ++-- containers/docker-in-docker-compose/README.md | 4 ++-- containers/docker-in-docker/README.md | 4 ++-- containers/kubernetes-helm/README.md | 2 +- containers/markdown/README.md | 4 ++-- containers/python-2/README.md | 4 ++-- containers/python-3-anaconda/README.md | 4 ++-- containers/python-3-miniconda/README.md | 4 ++-- containers/python-3-postgres/README.md | 4 ++-- containers/python-3/README.md | 4 ++-- 19 files changed, 37 insertions(+), 37 deletions(-) diff --git a/containers/azure-cli/README.md b/containers/azure-cli/README.md index 49d064c5fe..bcc395cdad 100644 --- a/containers/azure-cli/README.md +++ b/containers/azure-cli/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -22,4 +22,4 @@ If you want to try out the test project instead, open a cloned copy of this enti Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-functions-dotnetcore-2.1/README.md b/containers/azure-functions-dotnetcore-2.1/README.md index 49d5476045..7f2da313f9 100644 --- a/containers/azure-functions-dotnetcore-2.1/README.md +++ b/containers/azure-functions-dotnetcore-2.1/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-functions-dotnetcore-latest/README.md b/containers/azure-functions-dotnetcore-latest/README.md index b4271f7c20..a09def5d34 100644 --- a/containers/azure-functions-dotnetcore-latest/README.md +++ b/containers/azure-functions-dotnetcore-latest/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-functions-node-8/README.md b/containers/azure-functions-node-8/README.md index 09c361d410..5428be2ae8 100644 --- a/containers/azure-functions-node-8/README.md +++ b/containers/azure-functions-node-8/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-functions-node-lts/README.md b/containers/azure-functions-node-lts/README.md index abc4c2a1e1..6f31f094ee 100644 --- a/containers/azure-functions-node-lts/README.md +++ b/containers/azure-functions-node-lts/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-hdinsight-python-3/README.md b/containers/azure-hdinsight-python-3/README.md index 870c867a33..6c925ec5f4 100644 --- a/containers/azure-hdinsight-python-3/README.md +++ b/containers/azure-hdinsight-python-3/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-machine-learning-python-3/README.md b/containers/azure-machine-learning-python-3/README.md index 0a0c12b2de..669f20c11f 100644 --- a/containers/azure-machine-learning-python-3/README.md +++ b/containers/azure-machine-learning-python-3/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/azure-terraform/README.md b/containers/azure-terraform/README.md index d734d5a0aa..d2e4855ce6 100644 --- a/containers/azure-terraform/README.md +++ b/containers/azure-terraform/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/docker-existing-docker-compose/README.md b/containers/docker-existing-docker-compose/README.md index 134bcd1ff9..3f788534c4 100644 --- a/containers/docker-existing-docker-compose/README.md +++ b/containers/docker-existing-docker-compose/README.md @@ -20,11 +20,11 @@ To use the definition with an existing project that contains a `docker-compose.y 2. Modify the `.devcontainer/dev-container.yml` and `devcontainer.json` files as needed (see comments) 3. Reopen the folder in the container (e.g. using the **Remote-Container: Reopen Folder in Container** command in VS Code) to use it unmodified. -[See here for more information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for more information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. ## License Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/docker-existing-dockerfile/README.md b/containers/docker-existing-dockerfile/README.md index 8e0f45686a..82adbd3494 100644 --- a/containers/docker-existing-dockerfile/README.md +++ b/containers/docker-existing-dockerfile/README.md @@ -20,10 +20,10 @@ To use the definition with your own project that contains a `Dockerfile`: 2. Modify the `.devcontainer/devcontainer.json` as needed (see comments) 3. Reopen the folder in the container (e.g. using the **Remote-Container: Reopen Folder in Container** command in VS Code) to use it unmodified. -[See here for more information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for more information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). ## License Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/docker-in-docker-compose/README.md b/containers/docker-in-docker-compose/README.md index f83b98d15b..ce31d530a8 100644 --- a/containers/docker-in-docker-compose/README.md +++ b/containers/docker-in-docker-compose/README.md @@ -18,7 +18,7 @@ Dev containers can be useful for all types of applications including those that ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -55,4 +55,4 @@ That's it! Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/docker-in-docker/README.md b/containers/docker-in-docker/README.md index be255035b6..c4f8a44444 100644 --- a/containers/docker-in-docker/README.md +++ b/containers/docker-in-docker/README.md @@ -18,7 +18,7 @@ Dev containers can be useful for all types of applications including those that ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -58,4 +58,4 @@ That's it! Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/kubernetes-helm/README.md b/containers/kubernetes-helm/README.md index c4d1520ef8..ae4e91555b 100644 --- a/containers/kubernetes-helm/README.md +++ b/containers/kubernetes-helm/README.md @@ -108,4 +108,4 @@ That's it! Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/markdown/README.md b/containers/markdown/README.md index 3329d144d7..a7167f9f70 100644 --- a/containers/markdown/README.md +++ b/containers/markdown/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -20,4 +20,4 @@ If you prefer, you can also just look through the contents of the `.devcontainer Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/python-2/README.md b/containers/python-2/README.md index a1be7a2596..c5ee5b4431 100644 --- a/containers/python-2/README.md +++ b/containers/python-2/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -22,4 +22,4 @@ If you want to try out the test project instead, run **Remote-Container: Open Fo Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/python-3-anaconda/README.md b/containers/python-3-anaconda/README.md index de92149aaf..20617c28c0 100644 --- a/containers/python-3-anaconda/README.md +++ b/containers/python-3-anaconda/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -24,4 +24,4 @@ Then, open test-project/hello.py and press shift-enter to run the cell and see t Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/python-3-miniconda/README.md b/containers/python-3-miniconda/README.md index a3e2006b7c..e2183c69e7 100644 --- a/containers/python-3-miniconda/README.md +++ b/containers/python-3-miniconda/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -24,4 +24,4 @@ Then, open test-project/hello.py and press shift-enter to run the cell and see t Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/python-3-postgres/README.md b/containers/python-3-postgres/README.md index 48de92d967..9f573aab33 100644 --- a/containers/python-3-postgres/README.md +++ b/containers/python-3-postgres/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -36,4 +36,4 @@ Then browse to [http://localhost:5000/admin](http://localhost:5000/admin) and lo Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). diff --git a/containers/python-3/README.md b/containers/python-3/README.md index 067fe64fda..496cb15e01 100644 --- a/containers/python-3/README.md +++ b/containers/python-3/README.md @@ -12,7 +12,7 @@ ## Usage -[See here for information on using this definition with an existing project](../../README.md#using-a-definition). +[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. @@ -22,4 +22,4 @@ If you want to try out the test project instead, run **Remote-Container: Open Fo Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](../../LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). From 80d894dd80d863d8f0c6ac4d4a5a6eab6fc579a5 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 22 Apr 2019 11:15:12 -0700 Subject: [PATCH 2/7] README cleanup --- containers/azure-cli/README.md | 34 ++++++++++++++++--- .../azure-functions-dotnetcore-2.1/README.md | 22 +++++++++--- .../README.md | 24 ++++++++++--- containers/azure-functions-node-lts/README.md | 20 +++++++++-- containers/azure-hdinsight-python-3/README.md | 20 +++++++++-- .../azure-machine-learning-python-3/README.md | 20 +++++++++-- containers/azure-terraform/README.md | 20 +++++++++-- 7 files changed, 134 insertions(+), 26 deletions(-) diff --git a/containers/azure-cli/README.md b/containers/azure-cli/README.md index bcc395cdad..3b4f587de4 100644 --- a/containers/azure-cli/README.md +++ b/containers/azure-cli/README.md @@ -10,16 +10,40 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Any | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition does require any special steps to use. Just follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. -If you want to try out the test project instead, open a cloned copy of this entire folder **Remote-Container: Open Folder in Container...** in VS Code and select a cloned copy of the entire folder and use the content in `test-project` to try things out. +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure CLI definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-cli/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. + +## Testing the definition + +This definition includes some test code that will help you verify it is working as expected on your system. Follow these steps: + +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. +2. Clone this repository. +3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** +4. Select the `containers/azure-cli` folder. +5. After the folder has opened in the container, press ctrl+shift+` to start a new terminal. +6. Open `test-project/scripting.azcli` +7. Right click on one of the lines and select Run Line in Terminal ## License Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-2.1/README.md b/containers/azure-functions-dotnetcore-2.1/README.md index 7f2da313f9..54ba81ab5a 100644 --- a/containers/azure-functions-dotnetcore-2.1/README.md +++ b/containers/azure-functions-dotnetcore-2.1/README.md @@ -8,13 +8,27 @@ |----------|-------| | *Contributors* | The VS Code Team | | *Definition type* | Dockerfile | -| *Languages, platforms* | Azure Functions, Node.js, JavaScript | +| *Languages, platforms* | Azure Functions, .NET Core, C# | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Functions & C# (.NET Core 2.1) definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-functions-dotnetcore-2.1/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-functions-dotnetcore-latest/README.md b/containers/azure-functions-dotnetcore-latest/README.md index a09def5d34..49846db93a 100644 --- a/containers/azure-functions-dotnetcore-latest/README.md +++ b/containers/azure-functions-dotnetcore-latest/README.md @@ -2,19 +2,33 @@ ## Summary -*Develop Azure Functions in C#. Includes NET Core (latest), the Azure Functions SDK, and related extensions and dependencies.* +*Develop Azure Functions in C#. Includes NET Core (Latest), the Azure Functions SDK, and related extensions and dependencies.* | Metadata | Value | |----------|-------| | *Contributors* | The VS Code Team | | *Definition type* | Dockerfile | -| *Languages, platforms* | Azure Functions, Node.js, JavaScript | +| *Languages, platforms* | Azure Functions, .NET Core, C# | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Functions & C# (.NET Core Latest) definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-functions-dotnetcore-latest/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-functions-node-lts/README.md b/containers/azure-functions-node-lts/README.md index 6f31f094ee..3063dff65a 100644 --- a/containers/azure-functions-node-lts/README.md +++ b/containers/azure-functions-node-lts/README.md @@ -10,11 +10,25 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Azure Functions, Node.js, JavaScript | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Functions & Node.js (latest LTS) definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-functions-node-lts/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-hdinsight-python-3/README.md b/containers/azure-hdinsight-python-3/README.md index 6c925ec5f4..59792101f1 100644 --- a/containers/azure-hdinsight-python-3/README.md +++ b/containers/azure-hdinsight-python-3/README.md @@ -10,11 +10,25 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Azure HDInsight, Python | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure HDInsight sdefinition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-hdinsight-python-3/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-machine-learning-python-3/README.md b/containers/azure-machine-learning-python-3/README.md index 669f20c11f..d2651b4fb9 100644 --- a/containers/azure-machine-learning-python-3/README.md +++ b/containers/azure-machine-learning-python-3/README.md @@ -10,11 +10,25 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Azure Machine Learning, Python | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Machine Learning definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-machine-learning-python-3/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-terraform/README.md b/containers/azure-terraform/README.md index d2e4855ce6..dff50fa638 100644 --- a/containers/azure-terraform/README.md +++ b/containers/azure-terraform/README.md @@ -10,11 +10,25 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Terraform | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Terraform definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-terraform/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License From cbabb3d7dd7dd3b622ccc158b6d94e42a080c2b6 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 22 Apr 2019 11:16:12 -0700 Subject: [PATCH 3/7] Avoid adding warnings to stderr --- .../docker-compose/.devcontainer/Dockerfile | 8 ++++++- .../dockerfile/.devcontainer/Dockerfile | 9 ++++++-- containers/azure-cli/.devcontainer/Dockerfile | 11 +++++++-- .../azure-terraform/.devcontainer/Dockerfile | 23 +++++++++++-------- .../debian-9-git/.devcontainer/Dockerfile | 11 ++++++--- .../ubuntu-18.04-git/.devcontainer/Dockerfile | 10 ++++++-- 6 files changed, 53 insertions(+), 19 deletions(-) diff --git a/container-templates/docker-compose/.devcontainer/Dockerfile b/container-templates/docker-compose/.devcontainer/Dockerfile index fdb56b6beb..7404669802 100644 --- a/container-templates/docker-compose/.devcontainer/Dockerfile +++ b/container-templates/docker-compose/.devcontainer/Dockerfile @@ -11,8 +11,13 @@ # Debian and Ubuntu based images are supported. Alpine images are not yet supported. FROM debian:9 +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + # Install git, process tools, lsb-release (common in install instructions for CLIs) -RUN apt-get update && apt-get -y install git procps lsb-release +RUN apt-get -y install git procps lsb-release # ***************************************************** # * Add steps for installing needed dependencies here * @@ -22,4 +27,5 @@ RUN apt-get update && apt-get -y install git procps lsb-release RUN apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* +ENV DEBIAN_FRONTEND=dialog diff --git a/container-templates/dockerfile/.devcontainer/Dockerfile b/container-templates/dockerfile/.devcontainer/Dockerfile index 23cf3faa90..f6fe8d71e4 100644 --- a/container-templates/dockerfile/.devcontainer/Dockerfile +++ b/container-templates/dockerfile/.devcontainer/Dockerfile @@ -6,8 +6,13 @@ # Debian and Ubuntu based images are supported. Alpine images are not yet supported. FROM debian:9 +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + # Install git, process tools, lsb-release (common in install instructions for CLIs) -RUN apt-get update && apt-get -y install git procps lsb-release +RUN apt-get -y install git procps lsb-release # ***************************************************** # * Add steps for installing needed dependencies here * @@ -17,4 +22,4 @@ RUN apt-get update && apt-get -y install git procps lsb-release RUN apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* - +ENV DEBIAN_FRONTEND=dialog diff --git a/containers/azure-cli/.devcontainer/Dockerfile b/containers/azure-cli/.devcontainer/Dockerfile index bb3dc58a3f..bc85d74bb3 100644 --- a/containers/azure-cli/.devcontainer/Dockerfile +++ b/containers/azure-cli/.devcontainer/Dockerfile @@ -5,13 +5,18 @@ FROM debian:9 +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + # Install git, process tools -RUN apt-get update && apt-get -y install git procps +RUN apt-get -y install git procps # Install the Azure CLI RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \ && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \ - && curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ + && curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \ && apt-get update \ && apt-get install -y azure-cli @@ -19,4 +24,6 @@ RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \ RUN apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* +ENV DEBIAN_FRONTEND=dialog + diff --git a/containers/azure-terraform/.devcontainer/Dockerfile b/containers/azure-terraform/.devcontainer/Dockerfile index 6263a8784c..86622fa5ad 100644 --- a/containers/azure-terraform/.devcontainer/Dockerfile +++ b/containers/azure-terraform/.devcontainer/Dockerfile @@ -6,9 +6,13 @@ # Pick any base image, but if you select node, skip installing node. 😊 FROM debian:9 -# Install git, required tools +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ - && apt-get install -y \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + +# Install git, required tools +RUN apt-get install -y \ git \ curl \ procps \ @@ -17,26 +21,26 @@ RUN apt-get update \ ca-certificates \ gnupg-agent \ software-properties-common \ - lsb-release + lsb-release 2>&1 # [Optional] Install Node.js for Azure Cloud Shell support # Change the "lts/*" in the two lines below to pick a different version -RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash \ +RUN curl -so- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash 2>&1 \ && /bin/bash -c "source $HOME/.nvm/nvm.sh \ && nvm install lts/* \ - && nvm alias default lts/*" + && nvm alias default lts/*" 2>&1 # [Optional] For local testing instead of cloud shell # Install Docker CE CLI. -RUN && curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - \ +RUN curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - 2>/dev/null \ && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" \ && apt-get update \ && apt-get install -y docker-ce-cli # [Optional] For local testing instead of cloud shell # Install the Azure CLI -RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \ - && curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ +RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \ + && curl -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \ && apt-get update \ && apt-get install -y azure-cli @@ -55,4 +59,5 @@ RUN mkdir -p /tmp/docker-downloads \ # Clean up RUN apt-get autoremove -y \ && apt-get clean -y \ - && rm -rf /var/lib/apt/lists/* \ No newline at end of file + && rm -rf /var/lib/apt/lists/* +ENV DEBIAN_FRONTEND=dialog \ No newline at end of file diff --git a/containers/debian-9-git/.devcontainer/Dockerfile b/containers/debian-9-git/.devcontainer/Dockerfile index f75e9177e8..739a52bceb 100644 --- a/containers/debian-9-git/.devcontainer/Dockerfile +++ b/containers/debian-9-git/.devcontainer/Dockerfile @@ -4,11 +4,16 @@ #----------------------------------------------------------------------------------------- FROM debian:9 -# Install git, process tools -RUN apt-get update && apt-get -y install git procps +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + +# Install git, process tools, lsb-release (common in install instructions for CLIs) +RUN apt-get -y install git procps lsb-release # Clean up RUN apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* - +ENV DEBIAN_FRONTEND=dialog diff --git a/containers/ubuntu-18.04-git/.devcontainer/Dockerfile b/containers/ubuntu-18.04-git/.devcontainer/Dockerfile index 5277dde2a4..7dc6386320 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/Dockerfile +++ b/containers/ubuntu-18.04-git/.devcontainer/Dockerfile @@ -4,11 +4,17 @@ #----------------------------------------------------------------------------------------- FROM ubuntu:bionic -# Install git, process tools -RUN apt-get update && apt-get -y install git procps +# Configure apt +ENV DEBIAN_FRONTEND=noninteractive +RUN apt-get update \ + && apt-get -y install --no-install-recommends apt-utils 2>&1 + +# Install git, process tools, lsb-release (common in install instructions for CLIs) +RUN apt-get -y install git procps lsb-release # Clean up RUN apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* +ENV DEBIAN_FRONTEND=dialog From 401821e2826675a292c19441d547e62582092b51 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 22 Apr 2019 13:32:19 -0700 Subject: [PATCH 4/7] README cleanup --- containers/azure-cli/README.md | 2 +- .../azure-functions-dotnetcore-2.1/README.md | 3 ++- .../README.md | 2 +- containers/azure-functions-node-8/README.md | 20 ++++++++++++++++--- containers/azure-functions-node-lts/README.md | 2 +- containers/azure-hdinsight-python-3/README.md | 2 +- .../azure-machine-learning-python-3/README.md | 2 +- .../azure-terraform/.devcontainer/Dockerfile | 2 +- containers/azure-terraform/README.md | 4 +++- containers/typescript-node-lts/README.md | 12 ----------- 10 files changed, 28 insertions(+), 23 deletions(-) diff --git a/containers/azure-cli/README.md b/containers/azure-cli/README.md index 3b4f587de4..0f96cab892 100644 --- a/containers/azure-cli/README.md +++ b/containers/azure-cli/README.md @@ -12,7 +12,7 @@ ## Using this definition with an existing folder -This definition does require any special steps to use. Just follow these steps: +This definition requires an Azure subscription to use. You can create a [free account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-functions-dotnetcore-2.1/README.md b/containers/azure-functions-dotnetcore-2.1/README.md index 54ba81ab5a..189fba425b 100644 --- a/containers/azure-functions-dotnetcore-2.1/README.md +++ b/containers/azure-functions-dotnetcore-2.1/README.md @@ -12,7 +12,8 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +This definition requires an Azure subscription to use. You can create a [free account here](https://azure.microsoft.com/en-us/free/serverless/) and learn more about using [Azure Functions with VS Code here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code). Once you have an Azure account, follow these steps: + 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-functions-dotnetcore-latest/README.md b/containers/azure-functions-dotnetcore-latest/README.md index 49846db93a..62bb62b904 100644 --- a/containers/azure-functions-dotnetcore-latest/README.md +++ b/containers/azure-functions-dotnetcore-latest/README.md @@ -12,7 +12,7 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +This definition requires an Azure subscription to use. You can create a [free account here](https://azure.microsoft.com/en-us/free/serverless/) and learn more about using [Azure Functions with VS Code here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code). Once you have an Azure account, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-functions-node-8/README.md b/containers/azure-functions-node-8/README.md index 5428be2ae8..9ff5b84f7c 100644 --- a/containers/azure-functions-node-8/README.md +++ b/containers/azure-functions-node-8/README.md @@ -10,11 +10,25 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Azure Functions, Node.js, JavaScript | -## Usage +## Using this definition with an existing folder -[See here for information on using this definition with an existing project](https://aka.ms/vscode-remote/containers/getting-started/open). +This definition requires an Azure subscription to use. You can create a [free account here](https://azure.microsoft.com/en-us/free/serverless/) and learn more about using [Azure Functions with VS Code here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code). Once you have an Azure account, follow these steps: -If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project. +1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. + +2. To use VS Code's copy of this definition: + 1. Start VS Code and open your project folder. + 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. + 3. Select the Azure Functions & Node.js 8 definition. + +3. To use latest-and-greatest copy of this definition from the repository: + 1. Clone this repository. + 2. Copy the contents of `containers/azure-functions-node-8/.devcontainer` to the root of your project folder. + 3. Start VS Code and open your project folder. + +4. After following step 2 or 3, the contents of the `.devcontainer` folder in your project can be adapted to meet your needs. + +5. Finally, press F1 and run **Remote-Containers: Reopen Folder in Container** to start using the definition. ## License diff --git a/containers/azure-functions-node-lts/README.md b/containers/azure-functions-node-lts/README.md index 3063dff65a..9ad796551c 100644 --- a/containers/azure-functions-node-lts/README.md +++ b/containers/azure-functions-node-lts/README.md @@ -12,7 +12,7 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +This definition requires an Azure subscription to use. You can create a [free account here](https://azure.microsoft.com/en-us/free/serverless/) and learn more about using [Azure Functions with VS Code here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code). Once you have an Azure account, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-hdinsight-python-3/README.md b/containers/azure-hdinsight-python-3/README.md index 59792101f1..e44ba57c6d 100644 --- a/containers/azure-hdinsight-python-3/README.md +++ b/containers/azure-hdinsight-python-3/README.md @@ -12,7 +12,7 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +This definition requires an Azure subscription to use. You can create a [free trial account here](https://azure.microsoft.com/en-us/free/) and learn more about using [Azure HDInsight with VS Code here](https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-for-vscode#open-hdinsight-work-folder). Once you have an Azure account, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-machine-learning-python-3/README.md b/containers/azure-machine-learning-python-3/README.md index d2651b4fb9..af7ed7ee52 100644 --- a/containers/azure-machine-learning-python-3/README.md +++ b/containers/azure-machine-learning-python-3/README.md @@ -12,7 +12,7 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +This definition requires an Azure subscription to use. You can create a [free account here](https://account.azure.com/signup?offer=ms-azr-0044p&appId=102&ref=azureplat-generic&redirectURL=https%3a%2f%2fazure.microsoft.com%2fen-us%2fget-started%2fwelcome-to-azure%2f&l=en-us&correlationId=15FE63BE1C4960F42D1B6EFB18496296) and learn more about using [Azure Machine Learning with VS Code here](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-vscode-tools#get-started-with-azure-machine-learning). Once you have an Azure account, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/azure-terraform/.devcontainer/Dockerfile b/containers/azure-terraform/.devcontainer/Dockerfile index 86622fa5ad..5443a475ad 100644 --- a/containers/azure-terraform/.devcontainer/Dockerfile +++ b/containers/azure-terraform/.devcontainer/Dockerfile @@ -44,7 +44,7 @@ RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb && apt-get update \ && apt-get install -y azure-cli -# Install Terraform and tflint +# Install Terraform, tflint, and graphviz RUN mkdir -p /tmp/docker-downloads \ && curl -sSL -o /tmp/docker-downloads/terraform.zip https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip \ && unzip /tmp/docker-downloads/terraform.zip \ diff --git a/containers/azure-terraform/README.md b/containers/azure-terraform/README.md index dff50fa638..64bc0cef6a 100644 --- a/containers/azure-terraform/README.md +++ b/containers/azure-terraform/README.md @@ -12,7 +12,9 @@ ## Using this definition with an existing folder -This definition requires an Azure subscription to use. Create a [free trial account here](https://azure.microsoft.com/en-us/free/). Once you have an Azure account, follow these steps: +While technically optional, this definition includes the Azure Terraform extension which requires an Azure account to use. You can create a [free trial account here](https://azure.microsoft.com/en-us/free/) and find out more about using [Teraform with Azure here](https://docs.microsoft.com/en-us/azure/terraform/terraform-overview). If you plan to use the Azure Cloud Shell for all of your Terraform operations, you can comment out the installation of the Docker CLI in `.devcontainer/Dockerfile`. Conversely, if you do not plan to use Cloud Shell, you can comment out the installation of Node.js. The definition has been setup so you can do either as it makes sense. + +Next, follow these steps: 1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine. diff --git a/containers/typescript-node-lts/README.md b/containers/typescript-node-lts/README.md index 8545662809..3b6dc45cc6 100644 --- a/containers/typescript-node-lts/README.md +++ b/containers/typescript-node-lts/README.md @@ -10,18 +10,6 @@ | *Definition type* | Dockerfile | | *Languages, platforms* | Node.js, TypeScript | -# Node.js 8 & TypeScript - -## Summary - -*Develop Node.js 8 based applications in TypeScript. Includes Node.js, tslint, yarn, and the TypeScript compiler.* - -| Metadata | Value | -|----------|-------| -| *Contributors* | The VS Code Team | -| *Definition type* | Dockerfile | -| *Languages, platforms* | Node.js, TypeScript | - ## Using this definition with an existing folder This definition does require any special steps to use. Just follow these steps: From 9740f9410066bbad53a805ba1b405d9f8a9ea2dd Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Thu, 18 Apr 2019 11:43:45 -0700 Subject: [PATCH 5/7] Added jekyll now dev container --- .../jekyll-now/.devcontainer/Dockerfile | 17 +++++++++++++++++ .../jekyll-now/.devcontainer/devcontainer.json | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 repository-containers/github.com/barryclark/jekyll-now/.devcontainer/Dockerfile create mode 100644 repository-containers/github.com/barryclark/jekyll-now/.devcontainer/devcontainer.json diff --git a/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/Dockerfile b/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/Dockerfile new file mode 100644 index 0000000000..53abbe34d1 --- /dev/null +++ b/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/Dockerfile @@ -0,0 +1,17 @@ +#----------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See LICENSE in the project root for license information. +#----------------------------------------------------------------------------------------- + +FROM ruby:2 + +# Install git, process tools +RUN apt-get update && apt-get -y install git procps + +# Clean up +RUN apt-get autoremove -y \ + && apt-get clean -y \ + && rm -rf /var/lib/apt/lists/* + +# Install jekyll +RUN gem install github-pages diff --git a/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/devcontainer.json b/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..e52930b5e9 --- /dev/null +++ b/repository-containers/github.com/barryclark/jekyll-now/.devcontainer/devcontainer.json @@ -0,0 +1,10 @@ +{ + "name": "Jekyll Now", + "dockerFile": "Dockerfile", + "appPort": [ + 4000 + ], + "extensions": [ + "mrmlnc.vscode-scss" + ] +} \ No newline at end of file From 2f969bd0da7a24165e0c9faa584017a984480d0c Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 19 Apr 2019 16:30:42 -0700 Subject: [PATCH 6/7] Move contributed files into .devcontainer directories --- .../TensorFlow-Examples/{ => .devcontainer}/Dockerfile | 0 .../{.devcontainer.json => .devcontainer/devcontainer.json} | 0 .../github.com/django/django/{ => .devcontainer}/Dockerfile | 0 .../{.devcontainer.json => .devcontainer/devcontainer.json} | 0 .../spmallick/learnopencv/{ => .devcontainer}/Dockerfile | 0 .../{.devcontainer.json => .devcontainer/devcontainer.json} | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename repository-containers/github.com/aymericdamien/TensorFlow-Examples/{ => .devcontainer}/Dockerfile (100%) rename repository-containers/github.com/aymericdamien/TensorFlow-Examples/{.devcontainer.json => .devcontainer/devcontainer.json} (100%) rename repository-containers/github.com/django/django/{ => .devcontainer}/Dockerfile (100%) rename repository-containers/github.com/django/django/{.devcontainer.json => .devcontainer/devcontainer.json} (100%) rename repository-containers/github.com/spmallick/learnopencv/{ => .devcontainer}/Dockerfile (100%) rename repository-containers/github.com/spmallick/learnopencv/{.devcontainer.json => .devcontainer/devcontainer.json} (100%) diff --git a/repository-containers/github.com/aymericdamien/TensorFlow-Examples/Dockerfile b/repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer/Dockerfile similarity index 100% rename from repository-containers/github.com/aymericdamien/TensorFlow-Examples/Dockerfile rename to repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer/Dockerfile diff --git a/repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer.json b/repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer/devcontainer.json similarity index 100% rename from repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer.json rename to repository-containers/github.com/aymericdamien/TensorFlow-Examples/.devcontainer/devcontainer.json diff --git a/repository-containers/github.com/django/django/Dockerfile b/repository-containers/github.com/django/django/.devcontainer/Dockerfile similarity index 100% rename from repository-containers/github.com/django/django/Dockerfile rename to repository-containers/github.com/django/django/.devcontainer/Dockerfile diff --git a/repository-containers/github.com/django/django/.devcontainer.json b/repository-containers/github.com/django/django/.devcontainer/devcontainer.json similarity index 100% rename from repository-containers/github.com/django/django/.devcontainer.json rename to repository-containers/github.com/django/django/.devcontainer/devcontainer.json diff --git a/repository-containers/github.com/spmallick/learnopencv/Dockerfile b/repository-containers/github.com/spmallick/learnopencv/.devcontainer/Dockerfile similarity index 100% rename from repository-containers/github.com/spmallick/learnopencv/Dockerfile rename to repository-containers/github.com/spmallick/learnopencv/.devcontainer/Dockerfile diff --git a/repository-containers/github.com/spmallick/learnopencv/.devcontainer.json b/repository-containers/github.com/spmallick/learnopencv/.devcontainer/devcontainer.json similarity index 100% rename from repository-containers/github.com/spmallick/learnopencv/.devcontainer.json rename to repository-containers/github.com/spmallick/learnopencv/.devcontainer/devcontainer.json From 4b66bad41d8070bf3981aa38068fbc8b9fb0bd90 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 22 Apr 2019 15:16:45 -0700 Subject: [PATCH 7/7] Updated forward port command to updated name --- containers/azure-hdinsight-python-3/README.md | 2 +- containers/dart/README.md | 2 +- containers/dart/test-project/server.dart | 8 ++++---- containers/dotnetcore-2.1/README.md | 2 +- containers/dotnetcore-latest/README.md | 2 +- containers/javascript-node-8/README.md | 2 +- containers/javascript-node-lts-mongo/README.md | 2 +- containers/javascript-node-lts/README.md | 2 +- containers/typescript-node-8/README.md | 2 +- containers/typescript-node-lts/README.md | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/containers/azure-hdinsight-python-3/README.md b/containers/azure-hdinsight-python-3/README.md index e44ba57c6d..eb6828c9cf 100644 --- a/containers/azure-hdinsight-python-3/README.md +++ b/containers/azure-hdinsight-python-3/README.md @@ -19,7 +19,7 @@ This definition requires an Azure subscription to use. You can create a [free tr 2. To use VS Code's copy of this definition: 1. Start VS Code and open your project folder. 2. Press F1 select and **Remote-Containers: Create Container Configuration File...** from the command palette. - 3. Select the Azure HDInsight sdefinition. + 3. Select the Azure HDInsight definition. 3. To use latest-and-greatest copy of this definition from the repository: 1. Clone this repository. diff --git a/containers/dart/README.md b/containers/dart/README.md index e7b4ddcc02..413fef81c5 100644 --- a/containers/dart/README.md +++ b/containers/dart/README.md @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/dart` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `pub get` and build the code before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 8080 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world!" after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/dart/test-project/server.dart b/containers/dart/test-project/server.dart index 2d4a2cb33f..3af5e57ded 100644 --- a/containers/dart/test-project/server.dart +++ b/containers/dart/test-project/server.dart @@ -7,10 +7,10 @@ Future main() async { InternetAddress.loopbackIPv4, 8080, ); - print('**************************************************************'); - print('* Press F1, select "Remote-Containers: Forward Port...", and *'); - print('* select the server port listed below to access server. *'); - print('**************************************************************'); + print('*************************************************************************'); + print('* Press F1, select "Remote-Containers: Forward Port from Container...", *'); + print('* and select the server port listed below to access server. *'); + print('*************************************************************************'); print('Listening on localhost:${server.port}'); await for (HttpRequest request in server) { diff --git a/containers/dotnetcore-2.1/README.md b/containers/dotnetcore-2.1/README.md index fee7a36fd8..d3fb3fb8d3 100644 --- a/containers/dotnetcore-2.1/README.md +++ b/containers/dotnetcore-2.1/README.md @@ -46,7 +46,7 @@ This definition includes some test code that will help you verify it is working 4. Select the `containers/dotnetcore-2.1` folder. 5. After the folder has opened in the container, if prompted to restore packages in a notification, click "Restore". 6. After packages are restored, press F5 to start the project. -7. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +7. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 8. Select port 8090 and click the "Open Browser" button in the notification that appears. 9. You should see "Hello remote world from ASP.NET Core!" after the page loads. 10. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/dotnetcore-latest/README.md b/containers/dotnetcore-latest/README.md index 5dbe752d5f..265b4009ab 100644 --- a/containers/dotnetcore-latest/README.md +++ b/containers/dotnetcore-latest/README.md @@ -46,7 +46,7 @@ This definition includes some test code that will help you verify it is working 4. Select the `containers/dotnetcore-latest` folder. 5. After the folder has opened in the container, if prompted to restore packages in a notification, click "Restore". 6. After packages are restored, press F5 to start the project. -7. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +7. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 8. Select port 8090 and click the "Open Browser" button in the notification that appears. 9. You should see "Hello remote world from ASP.NET Core!" after the page loads. 10. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/javascript-node-8/README.md b/containers/javascript-node-8/README.md index 91589e050c..54a299837d 100644 --- a/containers/javascript-node-8/README.md +++ b/containers/javascript-node-8/README.md @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/javascript-node-8` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `npm install` before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 3000 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world!" after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/javascript-node-lts-mongo/README.md b/containers/javascript-node-lts-mongo/README.md index 4b57eb7308..f7ec600ddb 100644 --- a/containers/javascript-node-lts-mongo/README.md +++ b/containers/javascript-node-lts-mongo/README.md @@ -37,7 +37,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/javascript-node-lts-mongo` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `npm install` before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 3000 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world! 1 test record(s) found." after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/javascript-node-lts/README.md b/containers/javascript-node-lts/README.md index 117e8407d7..8670146e14 100644 --- a/containers/javascript-node-lts/README.md +++ b/containers/javascript-node-lts/README.md @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/javascript-node-lts` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `npm install` before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 3000 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world!" after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/typescript-node-8/README.md b/containers/typescript-node-8/README.md index 3cb3b2b796..8a12a4d90d 100644 --- a/containers/typescript-node-8/README.md +++ b/containers/typescript-node-8/README.md @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/typescript-node-8` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `npm install` and compile the source before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 3000 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world!" after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. diff --git a/containers/typescript-node-lts/README.md b/containers/typescript-node-lts/README.md index 3b6dc45cc6..d00308534d 100644 --- a/containers/typescript-node-lts/README.md +++ b/containers/typescript-node-lts/README.md @@ -39,7 +39,7 @@ This definition includes some test code that will help you verify it is working 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/typescript-node-lts` folder. 5. After the folder has opened in the container, press F5 to start the project. This will automatically run `npm install` and compile the source before starting it. -6. Once the project is running, press F1 and select **Remote-Containers: Forward Port...** +6. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** 7. Select port 3000 and click the "Open Browser" button in the notification that appears. 8. You should see "Hello remote world!" after the page loads. 9. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing.