From 632e321a687ede2c7165e7cbc357c476852e1673 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 1 May 2019 14:19:24 -0700 Subject: [PATCH 01/31] Fix cosmetic error with yarn install --- containers/javascript-node-8/.devcontainer/Dockerfile | 4 ++-- containers/javascript-node-lts-mongo/.devcontainer/Dockerfile | 4 ++-- containers/javascript-node-lts/.devcontainer/Dockerfile | 4 ++-- containers/typescript-node-8/.devcontainer/Dockerfile | 4 ++-- containers/typescript-node-lts/.devcontainer/Dockerfile | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/containers/javascript-node-8/.devcontainer/Dockerfile b/containers/javascript-node-8/.devcontainer/Dockerfile index 1ac69c6a74..9df53f3df9 100644 --- a/containers/javascript-node-8/.devcontainer/Dockerfile +++ b/containers/javascript-node-8/.devcontainer/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get install -y git procps # Remove outdated yarn from /opt and install via package # so it can be easily updated via apt-get upgrade yarn RUN rm -rf /opt/yarn-* \ - rm -f /usr/local/bin/yarn \ - rm -f /usr/local/bin/yarnpkg \ + && rm -f /usr/local/bin/yarn \ + && rm -f /usr/local/bin/yarnpkg \ && apt-get install -y curl apt-transport-https lsb-release \ && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \ && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ diff --git a/containers/javascript-node-lts-mongo/.devcontainer/Dockerfile b/containers/javascript-node-lts-mongo/.devcontainer/Dockerfile index d9d78f20e3..4cc071efde 100644 --- a/containers/javascript-node-lts-mongo/.devcontainer/Dockerfile +++ b/containers/javascript-node-lts-mongo/.devcontainer/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get install -y git procps # Remove outdated yarn from /opt and install via package # so it can be easily updated via apt-get upgrade yarn RUN rm -rf /opt/yarn-* \ - rm -f /usr/local/bin/yarn \ - rm -f /usr/local/bin/yarnpkg \ + && rm -f /usr/local/bin/yarn \ + && rm -f /usr/local/bin/yarnpkg \ && apt-get install -y curl apt-transport-https lsb-release \ && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \ && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ diff --git a/containers/javascript-node-lts/.devcontainer/Dockerfile b/containers/javascript-node-lts/.devcontainer/Dockerfile index 35fa4f645f..19adb20a13 100644 --- a/containers/javascript-node-lts/.devcontainer/Dockerfile +++ b/containers/javascript-node-lts/.devcontainer/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get install -y git procps # Remove outdated yarn from /opt and install via package # so it can be easily updated via apt-get upgrade yarn RUN rm -rf /opt/yarn-* \ - rm -f /usr/local/bin/yarn \ - rm -f /usr/local/bin/yarnpkg \ + && rm -f /usr/local/bin/yarn \ + && rm -f /usr/local/bin/yarnpkg \ && apt-get install -y curl apt-transport-https lsb-release \ && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \ && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ diff --git a/containers/typescript-node-8/.devcontainer/Dockerfile b/containers/typescript-node-8/.devcontainer/Dockerfile index 12291c3281..6addfd7e96 100644 --- a/containers/typescript-node-8/.devcontainer/Dockerfile +++ b/containers/typescript-node-8/.devcontainer/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get install -y git procps # Remove outdated yarn from /opt and install via package # so it can be easily updated via apt-get upgrade yarn RUN rm -rf /opt/yarn-* \ - rm -f /usr/local/bin/yarn \ - rm -f /usr/local/bin/yarnpkg \ + && rm -f /usr/local/bin/yarn \ + && rm -f /usr/local/bin/yarnpkg \ && apt-get install -y curl apt-transport-https lsb-release \ && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \ && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ diff --git a/containers/typescript-node-lts/.devcontainer/Dockerfile b/containers/typescript-node-lts/.devcontainer/Dockerfile index 9a099e9a97..eab330121c 100644 --- a/containers/typescript-node-lts/.devcontainer/Dockerfile +++ b/containers/typescript-node-lts/.devcontainer/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get install -y git procps # Remove outdated yarn from /opt and install via package # so it can be easily updated via apt-get upgrade yarn RUN rm -rf /opt/yarn-* \ - rm -f /usr/local/bin/yarn \ - rm -f /usr/local/bin/yarnpkg \ + && rm -f /usr/local/bin/yarn \ + && rm -f /usr/local/bin/yarnpkg \ && apt-get install -y curl apt-transport-https lsb-release \ && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \ && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ From 811f458a9b201060de76ec4edd9da65db0dca012 Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Thu, 2 May 2019 15:01:40 -0700 Subject: [PATCH 02/31] Use correct PowerShell container --- containers/powershell/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/powershell/.devcontainer/Dockerfile b/containers/powershell/.devcontainer/Dockerfile index 693c1bfd34..ad6907e5ed 100644 --- a/containers/powershell/.devcontainer/Dockerfile +++ b/containers/powershell/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. #------------------------------------------------------------------------------------------------------------- -FROM microsoft/powershell +FROM mcr.microsoft.com/powershell # Install git, process tools RUN apt-get update && apt-get -y install git procps From ecf4c9ba9b088cff6d67025a0253cd6bc14caa1d Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Fri, 3 May 2019 22:31:28 -0700 Subject: [PATCH 03/31] fix symlink and upgrade to gradle 5.4.1 --- containers/java-11/.devcontainer/Dockerfile | 4 ++-- containers/java-12/.devcontainer/Dockerfile | 4 ++-- containers/java-8/.devcontainer/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/containers/java-11/.devcontainer/Dockerfile b/containers/java-11/.devcontainer/Dockerfile index 85338b4507..823c2697f3 100644 --- a/containers/java-11/.devcontainer/Dockerfile +++ b/containers/java-11/.devcontainer/Dockerfile @@ -18,14 +18,14 @@ RUN apt-get -y install git procps curl # Install Gradle ENV GRADLE_HOME /opt/gradle -ENV GRADLE_VERSION 5.4 +ENV GRADLE_VERSION 5.4.1 ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ && rm gradle.zip \ && mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" \ - && ln -s "${GRADLE_HOME}/bin/gradlec" /usr/bin/gradle + && ln -s "${GRADLE_HOME}/bin/gradle" /usr/bin/gradle # Clean up RUN apt-get autoremove -y \ diff --git a/containers/java-12/.devcontainer/Dockerfile b/containers/java-12/.devcontainer/Dockerfile index 3b081c4362..24be0f6b41 100644 --- a/containers/java-12/.devcontainer/Dockerfile +++ b/containers/java-12/.devcontainer/Dockerfile @@ -15,14 +15,14 @@ RUN yum install -y git curl procps unzip # Install Gradle ENV GRADLE_HOME /opt/gradle -ENV GRADLE_VERSION 5.4 +ENV GRADLE_VERSION 5.4.1 ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ && rm gradle.zip \ && mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" \ - && ln -s "${GRADLE_HOME}/bin/gradlec" /usr/bin/gradle + && ln -s "${GRADLE_HOME}/bin/gradle" /usr/bin/gradle # Clean yum cache RUN yum clean all diff --git a/containers/java-8/.devcontainer/Dockerfile b/containers/java-8/.devcontainer/Dockerfile index 81db6fc8c8..0bd58a505e 100644 --- a/containers/java-8/.devcontainer/Dockerfile +++ b/containers/java-8/.devcontainer/Dockerfile @@ -18,14 +18,14 @@ RUN apt-get -y install git procps curl # Install Gradle ENV GRADLE_HOME /opt/gradle -ENV GRADLE_VERSION 5.4 +ENV GRADLE_VERSION 5.4.1 ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ && rm gradle.zip \ && mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" \ - && ln -s "${GRADLE_HOME}/bin/gradlec" /usr/bin/gradle + && ln -s "${GRADLE_HOME}/bin/gradle" /usr/bin/gradle # Clean up RUN apt-get autoremove -y \ From 0ad86edc3a247d89b3b8919d0bcca594b0178ff8 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Mon, 6 May 2019 20:59:39 -0400 Subject: [PATCH 04/31] Fix SHA256 --- containers/java-8/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/java-8/.devcontainer/Dockerfile b/containers/java-8/.devcontainer/Dockerfile index 0bd58a505e..a0e670deb8 100644 --- a/containers/java-8/.devcontainer/Dockerfile +++ b/containers/java-8/.devcontainer/Dockerfile @@ -19,7 +19,7 @@ RUN apt-get -y install git procps curl # Install Gradle ENV GRADLE_HOME /opt/gradle ENV GRADLE_VERSION 5.4.1 -ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de +ARG GRADLE_DOWNLOAD_SHA256=7bdbad1e4f54f13c8a78abc00c26d44dd8709d4aedb704d913fb1bb78ac025dc RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ From fa5d0e94990cf791b873a2569196fec5fbe34300 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Mon, 6 May 2019 21:00:02 -0400 Subject: [PATCH 05/31] Fix SHA256 --- containers/java-11/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/java-11/.devcontainer/Dockerfile b/containers/java-11/.devcontainer/Dockerfile index 823c2697f3..d3068b41fa 100644 --- a/containers/java-11/.devcontainer/Dockerfile +++ b/containers/java-11/.devcontainer/Dockerfile @@ -19,7 +19,7 @@ RUN apt-get -y install git procps curl # Install Gradle ENV GRADLE_HOME /opt/gradle ENV GRADLE_VERSION 5.4.1 -ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de +ARG GRADLE_DOWNLOAD_SHA256=7bdbad1e4f54f13c8a78abc00c26d44dd8709d4aedb704d913fb1bb78ac025dc RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ From ba29259b9f210431c4bd912b2973cba145717c1a Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Mon, 6 May 2019 21:00:23 -0400 Subject: [PATCH 06/31] Fix SHA256 --- containers/java-12/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/java-12/.devcontainer/Dockerfile b/containers/java-12/.devcontainer/Dockerfile index 24be0f6b41..74d96de40d 100644 --- a/containers/java-12/.devcontainer/Dockerfile +++ b/containers/java-12/.devcontainer/Dockerfile @@ -16,7 +16,7 @@ RUN yum install -y git curl procps unzip # Install Gradle ENV GRADLE_HOME /opt/gradle ENV GRADLE_VERSION 5.4.1 -ARG GRADLE_DOWNLOAD_SHA256=c8c17574245ecee9ed7fe4f6b593b696d1692d1adbfef425bef9b333e3a0e8de +ARG GRADLE_DOWNLOAD_SHA256=7bdbad1e4f54f13c8a78abc00c26d44dd8709d4aedb704d913fb1bb78ac025dc RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ && echo "${GRADLE_DOWNLOAD_SHA256} *gradle.zip" | sha256sum --check - \ && unzip gradle.zip \ From 98df2992f08715e8c69b40cd21c3f6eec19437a6 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 7 May 2019 08:22:54 -0700 Subject: [PATCH 07/31] Merge stages * Update Dockerfile --- containers/powershell/.devcontainer/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/containers/powershell/.devcontainer/Dockerfile b/containers/powershell/.devcontainer/Dockerfile index ad6907e5ed..b8a2ead631 100644 --- a/containers/powershell/.devcontainer/Dockerfile +++ b/containers/powershell/.devcontainer/Dockerfile @@ -6,9 +6,8 @@ FROM mcr.microsoft.com/powershell # Install git, process tools -RUN apt-get update && apt-get -y install git procps - -# Clean up -RUN apt-get autoremove -y \ +RUN apt-get update && apt-get -y install git procps \ + # Clean up + && apt-get autoremove -y \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* From 8b24df6119420ae6af7a7bb5052a0bb87092368d Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Wed, 8 May 2019 08:24:42 +0200 Subject: [PATCH 08/31] 0.15.0 --- package.json | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index cf78a63096..55dcdd346d 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,23 @@ -{ - "name": "vscode-dev-containers", - "version": "0.14.0", - "description": "VS Code Dev Containers: Definitions and Templates", - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/vscode-dev-containers.git" - }, - "author": "Microsoft Corporation", - "license": "SEE LICENSE IN LICENSE.md", - "files": [ - "containers", - "containers-readmes", - "repository-containers" - ], - "scripts": { - "prepack": "rimraf containers-readmes && copyfiles --up 1 containers/**/README.md containers-readmes" - }, - "devDependencies": { - "copyfiles": "^2.1.0", - "rimraf": "^2.6.3" - } -} +{ + "name": "vscode-dev-containers", + "version": "0.15.0", + "description": "VS Code Dev Containers: Definitions and Templates", + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/vscode-dev-containers.git" + }, + "author": "Microsoft Corporation", + "license": "SEE LICENSE IN LICENSE.md", + "files": [ + "containers", + "containers-readmes", + "repository-containers" + ], + "scripts": { + "prepack": "rimraf containers-readmes && copyfiles --up 1 containers/**/README.md containers-readmes" + }, + "devDependencies": { + "copyfiles": "^2.1.0", + "rimraf": "^2.6.3" + } +} From af6f09db7731f13c56239fe7e46288689d1a673a Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 8 May 2019 16:13:12 -0700 Subject: [PATCH 09/31] Add ptrace runArgs into samples, docker-in-docker --- .../.devcontainer/devcontainer.json | 24 ++++++++++---- .../.devcontainer/docker-compose.yml | 14 +++++--- .../.devcontainer/devcontainer.json | 32 +++++++++++++------ .../image/.devcontainer/devcontainer.json | 29 +++++++++++++---- .../.devcontainer/devcontainer.json | 11 ++++++- .../.devcontainer/devcontainer.json | 7 +--- .../.devcontainer/docker-compose.yml | 11 +++++-- .../.devcontainer/devcontainer.json | 27 +++++++++------- .../.devcontainer/docker-compose.yml | 12 +++++-- .../.devcontainer/devcontainer.json | 9 +++++- .../.devcontainer/devcontainer.json | 11 +++++-- .../.devcontainer/devcontainer.json | 11 ++++++- 12 files changed, 143 insertions(+), 55 deletions(-) diff --git a/container-templates/docker-compose/.devcontainer/devcontainer.json b/container-templates/docker-compose/.devcontainer/devcontainer.json index a705f218ad..732fdab4d3 100644 --- a/container-templates/docker-compose/.devcontainer/devcontainer.json +++ b/container-templates/docker-compose/.devcontainer/devcontainer.json @@ -1,11 +1,21 @@ { - // "See https://aka.ms/vscode-remote/devcontainer.json for format details." + // See https://aka.ms/vscode-remote/devcontainer.json for format details. "name": "Dev Container Definition Template - Docker Compose", + + // Update the 'dockerComposeFile' list if you have more compose files or use different names. "dockerComposeFile": "docker-compose.yml", - "service": "your-service-name-here", + + // 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 volume mount in .devcontainer/docker-compose.yml "workspaceFolder": "/workspace", - "shutdownAction": "stopCompose", - "extensions": [ - "mutantdino.resourcemonitor" - ] -} \ No newline at end of file + + // 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" +} diff --git a/container-templates/docker-compose/.devcontainer/docker-compose.yml b/container-templates/docker-compose/.devcontainer/docker-compose.yml index e2c14ea023..67f30b0cf0 100644 --- a/container-templates/docker-compose/.devcontainer/docker-compose.yml +++ b/container-templates/docker-compose/.devcontainer/docker-compose.yml @@ -9,11 +9,11 @@ services: # Using a Dockerfile is optional, but included for completeness. build: context: . - dockerfile: .devcontainer/Dockerfile + dockerfile: Dockerfile - # Application port(s) to expose - ports: - - "3000:3000" + # Uncomment to expose one or more ports + # ports: + # - "3000:3000" volumes: # This is where VS Code should expect to find your project's source code @@ -23,6 +23,12 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig + # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # cap_add: + # - SYS_PTRACE + # security_opt: + # - seccomp:unconfined + # Overrides default command so things don't shut down after the process ends - useful for debugging command: sleep infinity diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index fa4c7fd920..a0087c39ec 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -1,10 +1,24 @@ { - // "See https://aka.ms/vscode-remote/devcontainer.json for format details." - "name": "Dev Container Definition Template - Dockerfile", - "dockerFile": "Dockerfile", - "appPort": 3000, - "extensions": [ - "mutantdino.resourcemonitor" - ], - "runArgs": [] -} \ No newline at end of file + // See https://aka.ms/vscode-remote/devcontainer.json for format details. + "name": "Dev Container Definition Template - Dockerfile", + + // 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": [], + + // Add any extensions you want auto-installed here. + "extensions": [], + + // The optional 'runArgs' property can be used to specify additional runtime arguments. + "runArgs": [ + // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // "-v","/var/run/docker.sock:/var/run/docker.sock", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] +} diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index fe4381bee7..86645dbf48 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -1,10 +1,25 @@ { - // "See https://aka.ms/vscode-remote/devcontainer.json for format details." + // See https://aka.ms/vscode-remote/devcontainer.json for format details. "name": "Dev Container Definition Template - Container Image", + + // Update the 'image' property with your Docker image name. "image": "ubuntu:bionic", - "appPort": 3000, - "extensions": [ - "mutantdino.resourcemonitor" - ], - "runArgs": [] -} \ No newline at end of file + + // Use the optional 'appPort' property to expose ports not already in your Dockerfile + "appPort": [], + + // Add any extensions you want auto-installed here. + "extensions": [], + + // The optional 'runArgs' property can be used to specify additional runtime arguments. + "runArgs": [ + // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // "-v","/var/run/docker.sock:/var/run/docker.sock", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] + +} diff --git a/containers/debian-9-git/.devcontainer/devcontainer.json b/containers/debian-9-git/.devcontainer/devcontainer.json index f986012af0..09b74fae0f 100644 --- a/containers/debian-9-git/.devcontainer/devcontainer.json +++ b/containers/debian-9-git/.devcontainer/devcontainer.json @@ -1,5 +1,14 @@ { "name": "Debian 9 & Git", "dockerFile": "Dockerfile", - "appPort": [] + "appPort": [], + "runArgs": [ + // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // "-v","/var/run/docker.sock:/var/run/docker.sock", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] } \ No newline at end of file diff --git a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json index 16d834f0eb..6a08d26a91 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json @@ -20,11 +20,6 @@ // "Add any extensions you want auto-installed here." "extensions": [], - // "Remove this line if you want to keep your containers running after VS Code shuts down." + // "Update the value of this line like to 'none' if you want to keep your containers running after VS Code shuts down." "shutdownAction": "stopCompose" - - // "Other notes:" - // "- The 'appPorts' property is not supported in the Docker Compose case. Add the ports into" - // " the docker-compose.yml in the .devcontainer folder instead." - // "- The 'runArgs' property is also not supported." } diff --git a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml index 8ff1e825be..75da0bf3ff 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml @@ -23,9 +23,14 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig - # Forwarding the socket is optional, but lets docker work inside the container if you install the Docker CLI. - # See the docker-in-docker-compose definition for details on how to install it. - - /var/run/docker.sock:/var/run/docker.sock + # Uncomment the line below if you plan to install the Docker CLI. See the docker-in-docker-compose definition for details. + # - /var/run/docker.sock:/var/run/docker.sock + + # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # cap_add: + # - SYS_PTRACE + # security_opt: + # - seccomp:unconfined # Overrides default command so things don't shut down after the process ends - useful for debugging command: sleep infinity diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 1db8820e86..ffdaea4d69 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -1,22 +1,27 @@ { - // "See https://aka.ms/vscode-remote/devcontainer.json for format details." + // See https://aka.ms/vscode-remote/devcontainer.json for format details. "name": "Existing Dockerfile", - // "Sets the run context to one level up instead of the .devcontainer folder. + // Sets the run context to one level up instead of the .devcontainer folder. "context": "..", - // "Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename." - "dockerFile": "Dockerfile", + // 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 expose ports not already in your Dockerfile "appPort": [], - // "Add any extensions you want auto-installed here." + // Add any extensions you want auto-installed here. "extensions": [], - // "The optional 'runArgs' property can be used to specify Docker CLI arguments to use when the container." - // "is started. If you install the Docker CE CLI in your container, the runArgs list below will lets you interact" - // "with your host's Docker service from inside the container. See the docker-in-docker and docker-in-docker" - // "definitions for details." - "runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"] + // The optional 'runArgs' property can be used to specify additional runtime arguments. + "runArgs": [ + // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // "-v","/var/run/docker.sock:/var/run/docker.sock", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] } diff --git a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml index e0b278aba8..5b4bb814b0 100644 --- a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml @@ -9,6 +9,7 @@ services: build: context: . dockerfile: Dockerfile + volumes: # Update this to wherever you want VS Code to mount the folder of your project - ..:/workspace @@ -16,10 +17,15 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig - # Forwarding the socket is optional, but lets docker work inside the container if you install the Docker CLI. - # See the docker-in-docker-compose definition for details on how to install it. + # Forwards the Docker socket from one side ot the other - /var/run/docker.sock:/var/run/docker.sock - + + # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # cap_add: + # - SYS_PTRACE + # security_opt: + # - seccomp:unconfined + # Overrides default command so things don't shut down after the process ends - useful for debugging command: sleep infinity diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index 1a0508d477..29d78c92b9 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -4,5 +4,12 @@ "extensions": [ "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 three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] } diff --git a/containers/kubernetes-helm/.devcontainer/devcontainer.json b/containers/kubernetes-helm/.devcontainer/devcontainer.json index 2ffdc300f9..6a2caba28b 100644 --- a/containers/kubernetes-helm/.devcontainer/devcontainer.json +++ b/containers/kubernetes-helm/.devcontainer/devcontainer.json @@ -5,7 +5,14 @@ "peterjausovec.vscode-docker", "ms-kubernetes-tools.vscode-kubernetes-tools" ], - "runArgs": ["-e", "SYNC_LOCALHOST_KUBECONFIG=true", + "runArgs": [ + "-e", "SYNC_LOCALHOST_KUBECONFIG=true", "-v", "/var/run/docker.sock:/var/run/docker.sock", - "-v", "${env:HOME}${env:USERPROFILE}/.kube:/root/.kube-localhost"] + "-v", "${env:HOME}${env:USERPROFILE}/.kube:/root/.kube-localhost", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] } \ No newline at end of file diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index 442ad86af0..ed649a52c8 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -1,5 +1,14 @@ { "name": "Ubuntu 18.04 & Git", "dockerFile": "Dockerfile", - "appPort": [] + "appPort": [], + "runArgs": [ + // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // "-v","/var/run/docker.sock:/var/run/docker.sock", + + // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", + /// "seccomp=unconfined" + ] } \ No newline at end of file From 7689e28ad914122b7534c9f3389f64b050a44952 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 8 May 2019 16:23:35 -0700 Subject: [PATCH 10/31] Fixed typos --- .../docker-compose/.devcontainer/docker-compose.yml | 7 +++++-- .../dockerfile/.devcontainer/devcontainer.json | 7 +++---- container-templates/image/.devcontainer/devcontainer.json | 7 +++---- .../.devcontainer/docker-compose.yml | 4 ++-- .../.devcontainer/devcontainer.json | 7 +++---- .../.devcontainer/docker-compose.yml | 4 ++-- .../docker-in-docker/.devcontainer/devcontainer.json | 5 ++--- containers/kubernetes-helm/.devcontainer/devcontainer.json | 5 ++--- .../ubuntu-18.04-git/.devcontainer/devcontainer.json | 7 +++---- 9 files changed, 25 insertions(+), 28 deletions(-) diff --git a/container-templates/docker-compose/.devcontainer/docker-compose.yml b/container-templates/docker-compose/.devcontainer/docker-compose.yml index 67f30b0cf0..25ff546db0 100644 --- a/container-templates/docker-compose/.devcontainer/docker-compose.yml +++ b/container-templates/docker-compose/.devcontainer/docker-compose.yml @@ -23,12 +23,15 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig - # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker-compose definition for details. + # - /var/run/docker.sock:/var/run/docker.sock + + # Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust. # cap_add: # - SYS_PTRACE # 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 - useful for debugging. command: sleep infinity diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index a0087c39ec..5d20c3b7c7 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -13,12 +13,11 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details // "-v","/var/run/docker.sock:/var/run/docker.sock", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index 86645dbf48..3593246ca4 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -13,13 +13,12 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details // "-v","/var/run/docker.sock:/var/run/docker.sock", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } diff --git a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml index 75da0bf3ff..7340cc92f0 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml @@ -23,10 +23,10 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig - # Uncomment the line below if you plan to install the Docker CLI. See the docker-in-docker-compose definition for details. + # Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker-compose definition for details. # - /var/run/docker.sock:/var/run/docker.sock - # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust. # cap_add: # - SYS_PTRACE # security_opt: diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index ffdaea4d69..4d65fa9e56 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -16,12 +16,11 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details. // "-v","/var/run/docker.sock:/var/run/docker.sock", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } diff --git a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml index 5b4bb814b0..d577688aa6 100644 --- a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml @@ -20,12 +20,12 @@ services: # Forwards the Docker socket from one side ot the other - /var/run/docker.sock:/var/run/docker.sock - # Uncomment the next four lines if you will use ptrace-based debuggers like C++, Go, and Rust + # Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust. # cap_add: # - SYS_PTRACE # 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 - useful for debugging. command: sleep infinity diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index 29d78c92b9..828ecf4f9e 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -7,9 +7,8 @@ "runArgs": [ "-v","/var/run/docker.sock:/var/run/docker.sock", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } diff --git a/containers/kubernetes-helm/.devcontainer/devcontainer.json b/containers/kubernetes-helm/.devcontainer/devcontainer.json index 6a2caba28b..66a82bd60f 100644 --- a/containers/kubernetes-helm/.devcontainer/devcontainer.json +++ b/containers/kubernetes-helm/.devcontainer/devcontainer.json @@ -10,9 +10,8 @@ "-v", "/var/run/docker.sock:/var/run/docker.sock", "-v", "${env:HOME}${env:USERPROFILE}/.kube:/root/.kube-localhost", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index ed649a52c8..d39c85cb67 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -3,12 +3,11 @@ "dockerFile": "Dockerfile", "appPort": [], "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details + // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details. // "-v","/var/run/docker.sock:/var/run/docker.sock", - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file From fd9f37ef5f24ff08c044cfe1b12ab2c497ede768 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 8 May 2019 16:29:54 -0700 Subject: [PATCH 11/31] Fix comments --- .../dockerfile/.devcontainer/devcontainer.json | 2 +- container-templates/image/.devcontainer/devcontainer.json | 4 ++-- containers/debian-9-git/.devcontainer/devcontainer.json | 8 ++------ .../.devcontainer/devcontainer.json | 2 +- .../ubuntu-18.04-git/.devcontainer/devcontainer.json | 3 --- 5 files changed, 6 insertions(+), 13 deletions(-) diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index 5d20c3b7c7..aad15fdff5 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -13,7 +13,7 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details + // 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 use a ptrace-based debugger like C++, Go, and Rust diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index 3593246ca4..56c7a12758 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -13,10 +13,10 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details + // 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 use a ptrace-based debugger like C++, Go, and Rust + // 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" ] diff --git a/containers/debian-9-git/.devcontainer/devcontainer.json b/containers/debian-9-git/.devcontainer/devcontainer.json index 09b74fae0f..60f5feede1 100644 --- a/containers/debian-9-git/.devcontainer/devcontainer.json +++ b/containers/debian-9-git/.devcontainer/devcontainer.json @@ -3,12 +3,8 @@ "dockerFile": "Dockerfile", "appPort": [], "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the Docker in Docker definition for details - // "-v","/var/run/docker.sock:/var/run/docker.sock", - - // Uncomment the next three lines if you will be using a ptrace-based debuggers like C++, Go, and Rust. + // 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" + // "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 4d65fa9e56..1a5089f5a7 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -16,7 +16,7 @@ // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. See the docker-in-docker definition for details. + // 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. diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index d39c85cb67..36da837e65 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -3,9 +3,6 @@ "dockerFile": "Dockerfile", "appPort": [], "runArgs": [ - // Uncomment the next line if you plan to install the Docker CLI. 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 use a ptrace-based debugger like C++, Go, and Rust. // "--cap-add=SYS_PTRACE", // "--security-opt", "seccomp=unconfined" From 1cc293bdf02f5f93dec55a3807fb01098ca0d1f4 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 8 May 2019 16:49:43 -0700 Subject: [PATCH 12/31] Fix tabs vs spaces --- .editorconfig | 10 +++++ .../.devcontainer/devcontainer.json | 32 +++++++-------- .../.devcontainer/devcontainer.json | 37 ++++++++--------- .../image/.devcontainer/devcontainer.json | 38 ++++++++--------- .../.devcontainer/devcontainer.json | 40 +++++++++--------- .../.devcontainer/devcontainer.json | 41 +++++++++---------- .../.devcontainer/devcontainer.json | 18 ++++---- .../.devcontainer/devcontainer.json | 25 ++++++----- .../.devcontainer/devcontainer.json | 10 ++--- 9 files changed, 128 insertions(+), 123 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..f48b747e29 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +[*.json] +indent_style = tab + +[Dockerfile] +indent_style = spaces +indent_size = 4 + +[*.{yml,yaml}] +indent_style = spaces +indent_size = 2 diff --git a/container-templates/docker-compose/.devcontainer/devcontainer.json b/container-templates/docker-compose/.devcontainer/devcontainer.json index 732fdab4d3..72f7f75e81 100644 --- a/container-templates/docker-compose/.devcontainer/devcontainer.json +++ b/container-templates/docker-compose/.devcontainer/devcontainer.json @@ -1,21 +1,21 @@ { - // See https://aka.ms/vscode-remote/devcontainer.json for format details. - "name": "Dev Container Definition Template - Docker Compose", + // See https://aka.ms/vscode-remote/devcontainer.json for format details. + "name": "Dev Container Definition Template - Docker Compose", - // Update the 'dockerComposeFile' list if you have more compose files or use different names. - "dockerComposeFile": "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. - "service": "your-service-name-here", + // Update the 'dockerComposeFile' list if you have more compose files or use different names. + "dockerComposeFile": "docker-compose.yml", - // The optional 'workspaceFolder' property is the path VS Code should open by default when - // connected. This is typically a volume mount in .devcontainer/docker-compose.yml - "workspaceFolder": "/workspace", + // 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", - // Add any extensions you want auto-installed here. - "extensions": [], + // The optional 'workspaceFolder' property is the path VS Code should open by default when + // connected. This is typically a volume mount in .devcontainer/docker-compose.yml + "workspaceFolder": "/workspace", - // Update the value of this line like to 'none' if you want to keep your containers running after VS Code shuts down. - "shutdownAction": "stopCompose" -} + // 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" +} \ No newline at end of file diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index aad15fdff5..39d348b725 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -1,23 +1,22 @@ { - // See https://aka.ms/vscode-remote/devcontainer.json for format details. - "name": "Dev Container Definition Template - Dockerfile", + // See https://aka.ms/vscode-remote/devcontainer.json for format details. + "name": "Dev Container Definition Template - Dockerfile", - // 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": [], - - // Add any extensions you want auto-installed here. - "extensions": [], + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. + "dockerFile": "Dockerfile", - // 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", + // Use the optional 'appPort' property to expose ports not already in your Dockerfile + "appPort": [], - // 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" - ] -} + // Add any extensions you want auto-installed here. + "extensions": [], + + // 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 use a ptrace-based debugger like C++, Go, and Rust + // "--cap-add=SYS_PTRACE", + // "--security-opt", "seccomp=unconfined" + ] +} \ No newline at end of file diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index 56c7a12758..f49cb3ec90 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -1,24 +1,22 @@ { - // See https://aka.ms/vscode-remote/devcontainer.json for format details. - "name": "Dev Container Definition Template - Container Image", + // See https://aka.ms/vscode-remote/devcontainer.json for format details. + "name": "Dev Container Definition Template - Container Image", - // 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 - "appPort": [], - - // Add any extensions you want auto-installed here. - "extensions": [], + // Update the 'image' property with your Docker image name. + "image": "ubuntu:bionic", - // 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", + // Use the optional 'appPort' property to expose ports not already in your Dockerfile + "appPort": [], - // 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" - ] - -} + // Add any extensions you want auto-installed here. + "extensions": [], + + // 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 use a ptrace-based debugger like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", + // "--security-opt", "seccomp=unconfined" + ] +} \ No newline at end of file diff --git a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json index 6a08d26a91..2419669eb4 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json @@ -1,25 +1,25 @@ { - // "See https://aka.ms/vscode-remote/devcontainer.json for format details." - "name": "Existing Docker Compose (Extend)", + // "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." - "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." - "service": "your-service-name-here", + // "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 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", + // "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", - // "Add any extensions you want auto-installed here." - "extensions": [], + // "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", - // "Update the value of this line like to 'none' if you want to keep your containers running after VS Code shuts down." - "shutdownAction": "stopCompose" -} + // "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" +} \ No newline at end of file diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 1a5089f5a7..24ddc680d1 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -1,26 +1,25 @@ { - // See https://aka.ms/vscode-remote/devcontainer.json for format details. - "name": "Existing Dockerfile", + // See https://aka.ms/vscode-remote/devcontainer.json for format details. + "name": "Existing Dockerfile", - // Sets the run context to one level up instead of the .devcontainer folder. - "context": "..", + // Sets the run context to one level up instead of the .devcontainer folder. + "context": "..", - // 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": [], - - // Add any extensions you want auto-installed here. - "extensions": [], + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. + "dockerFile": "Dockerfile", - // 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", + // Use the optional 'appPort' property to expose ports not already in your Dockerfile + "appPort": [], - // 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" - ] -} + // Add any extensions you want auto-installed here. + "extensions": [], + + // 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" + ] +} \ No newline at end of file diff --git a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json index 0a3f3626ca..d1ebdaf413 100644 --- a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json @@ -1,10 +1,10 @@ { - "name": "Docker in Docker Compose", - "dockerComposeFile": "docker-compose.yml", - "service": "docker-in-docker", - "workspaceFolder": "/workspace", - "shutdownAction": "stopCompose", - "extensions": [ - "peterjausovec.vscode-docker" - ] -} + "name": "Docker in Docker Compose", + "dockerComposeFile": "docker-compose.yml", + "service": "docker-in-docker", + "workspaceFolder": "/workspace", + "shutdownAction": "stopCompose", + "extensions": [ + "peterjausovec.vscode-docker" + ] +} \ No newline at end of file diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index 828ecf4f9e..e5ffad323d 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -1,14 +1,13 @@ { - "name": "Docker in Docker", - "dockerFile": "Dockerfile", - "extensions": [ - "peterjausovec.vscode-docker" - ], - "runArgs": [ - "-v","/var/run/docker.sock:/var/run/docker.sock", - - // 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" - ] -} + "name": "Docker in Docker", + "dockerFile": "Dockerfile", + "extensions": [ + "peterjausovec.vscode-docker" + ], + "runArgs": [ + "-v", "/var/run/docker.sock:/var/run/docker.sock", + // 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" + ] +} \ No newline at end of file diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index 36da837e65..e8bb11b607 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -2,9 +2,9 @@ "name": "Ubuntu 18.04 & 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" - ] + "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" + ] } \ No newline at end of file From b6a1b825a6937fdc16a955e6c178047448ca357a Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Wed, 8 May 2019 16:53:02 -0700 Subject: [PATCH 13/31] Formatting --- container-templates/dockerfile/.devcontainer/devcontainer.json | 1 + container-templates/image/.devcontainer/devcontainer.json | 1 + .../docker-existing-dockerfile/.devcontainer/devcontainer.json | 1 + 3 files changed, 3 insertions(+) diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index 39d348b725..0e289258ee 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -15,6 +15,7 @@ "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 use a ptrace-based debugger like C++, Go, and Rust // "--cap-add=SYS_PTRACE", // "--security-opt", "seccomp=unconfined" diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index f49cb3ec90..445a0032e7 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -15,6 +15,7 @@ "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 use a ptrace-based debugger like C++, Go, and Rust. // "--cap-add=SYS_PTRACE", // "--security-opt", "seccomp=unconfined" diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 24ddc680d1..6906da532d 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -18,6 +18,7 @@ "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" From 65bed35363a8f1e608207d14e9228754d17bd5ac Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Thu, 9 May 2019 07:32:14 -0700 Subject: [PATCH 14/31] Fix comments, raise visibility to appPort, postCreateCommand --- .../.devcontainer/devcontainer.json | 8 ++++-- .../.devcontainer/docker-compose.yml | 2 +- .../.devcontainer/devcontainer.json | 7 +++-- .../image/.devcontainer/devcontainer.json | 8 ++++-- .../azure-cli/.devcontainer/devcontainer.json | 8 +++++- .../.devcontainer/devcontainer.json | 5 +++- .../.devcontainer/devcontainer.json | 5 +++- .../.devcontainer/devcontainer.json | 5 +++- .../.devcontainer/devcontainer.json | 5 +++- .../.devcontainer/devcontainer.json | 5 +++- .../.devcontainer/devcontainer.json | 8 +++++- .../.devcontainer/devcontainer.json | 8 +++++- .../cpp/.devcontainer/devcontainer.json | 11 +++++--- .../dart/.devcontainer/devcontainer.json | 8 +++++- .../.devcontainer/devcontainer.json | 19 ++++++++----- .../.devcontainer/devcontainer.json | 25 ++++++++++-------- .../.devcontainer/docker-compose.yml | 2 +- .../.devcontainer/devcontainer.json | 16 ++++++----- .../.devcontainer/devcontainer.json | 10 +++++-- .../.devcontainer/docker-compose.yml | 4 +-- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- containers/go/.devcontainer/devcontainer.json | 12 ++++++--- .../java-11/.devcontainer/devcontainer.json | 9 ++++++- .../java-12/.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../java-8/.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 22 +++++++++------ .../.devcontainer/docker-compose.yml | 2 +- .../.devcontainer/devcontainer.json | 10 +++++-- .../.devcontainer/devcontainer.json | 5 ++-- .../markdown/.devcontainer/devcontainer.json | 9 ++++++- .../php-7/.devcontainer/devcontainer.json | 9 ++++++- .../plantuml/.devcontainer/devcontainer.json | 8 +++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../python-2/.devcontainer/devcontainer.json | 10 +++++-- .../.devcontainer/devcontainer.json | 11 +++++--- containers/python-3-anaconda/plot.png | Bin 0 -> 23145 bytes .../.devcontainer/devcontainer.json | 10 +++++-- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/docker-compose.yml | 2 +- .../python-3/.devcontainer/devcontainer.json | 10 +++++-- .../ruby-2/.devcontainer/devcontainer.json | 9 ++++++- .../rust/.devcontainer/devcontainer.json | 12 ++++++--- .../swift-4/.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 9 ++++++- .../.devcontainer/devcontainer.json | 19 ++++++++----- 52 files changed, 361 insertions(+), 103 deletions(-) create mode 100644 containers/python-3-anaconda/plot.png diff --git a/container-templates/docker-compose/.devcontainer/devcontainer.json b/container-templates/docker-compose/.devcontainer/devcontainer.json index 72f7f75e81..19b6a18cb2 100644 --- a/container-templates/docker-compose/.devcontainer/devcontainer.json +++ b/container-templates/docker-compose/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/container-templates/docker-compose/.devcontainer/docker-compose.yml b/container-templates/docker-compose/.devcontainer/docker-compose.yml index 25ff546db0..0f53113e5a 100644 --- a/container-templates/docker-compose/.devcontainer/docker-compose.yml +++ b/container-templates/docker-compose/.devcontainer/docker-compose.yml @@ -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 diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index 0e289258ee..33bc039612 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -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. @@ -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": [] } \ No newline at end of file diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index 445a0032e7..9f7be0b07e 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -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. @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-cli/.devcontainer/devcontainer.json b/containers/azure-cli/.devcontainer/devcontainer.json index 059c5ad5a8..0daaa3f17f 100644 --- a/containers/azure-cli/.devcontainer/devcontainer.json +++ b/containers/azure-cli/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json index 26a6eded10..ffca5aae64 100644 --- a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json index 17f5d86635..fa207cb37d 100644 --- a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-functions-java-8/.devcontainer/devcontainer.json b/containers/azure-functions-java-8/.devcontainer/devcontainer.json index a6eeee6538..62176fa767 100644 --- a/containers/azure-functions-java-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-java-8/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-functions-node-8/.devcontainer/devcontainer.json b/containers/azure-functions-node-8/.devcontainer/devcontainer.json index 0c5b18eeeb..43bbe1ffac 100644 --- a/containers/azure-functions-node-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-8/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json index 1265921904..7dbd4bb24e 100644 --- a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json index c69fdb131f..f63a55957d 100644 --- a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json +++ b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/azure-terraform/.devcontainer/devcontainer.json b/containers/azure-terraform/.devcontainer/devcontainer.json index 2a5cbcbb93..c4e8d0696f 100644 --- a/containers/azure-terraform/.devcontainer/devcontainer.json +++ b/containers/azure-terraform/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/cpp/.devcontainer/devcontainer.json b/containers/cpp/.devcontainer/devcontainer.json index f800a39768..93a1f71f0e 100644 --- a/containers/cpp/.devcontainer/devcontainer.json +++ b/containers/cpp/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/dart/.devcontainer/devcontainer.json b/containers/dart/.devcontainer/devcontainer.json index 06dc0d3a0e..51056255c3 100644 --- a/containers/dart/.devcontainer/devcontainer.json +++ b/containers/dart/.devcontainer/devcontainer.json @@ -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": [] } diff --git a/containers/debian-9-git/.devcontainer/devcontainer.json b/containers/debian-9-git/.devcontainer/devcontainer.json index 60f5feede1..0613b5aca0 100644 --- a/containers/debian-9-git/.devcontainer/devcontainer.json +++ b/containers/debian-9-git/.devcontainer/devcontainer.json @@ -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" ], + } \ No newline at end of file diff --git a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json index 2419669eb4..254b6fa9ff 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json @@ -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": [] } \ No newline at end of file diff --git a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml index 7340cc92f0..17dad0c7d4 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml @@ -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 diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 6906da532d..d3c445ad75 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -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" ] } \ No newline at end of file diff --git a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json index d1ebdaf413..7323ba3228 100644 --- a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml index d577688aa6..9831dcb350 100644 --- a/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml +++ b/containers/docker-in-docker-compose/.devcontainer/docker-compose.yml @@ -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. @@ -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 diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index e5ffad323d..c65154be75 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json index cdb5448f9a..fe62fdb4e9 100644 --- a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json index 28ccc7c10d..49fa2f1842 100644 --- a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json index fb1b31ac6f..8250a50d94 100644 --- a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json @@ -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": [] + } \ No newline at end of file diff --git a/containers/dotnetcore-latest/.devcontainer/devcontainer.json b/containers/dotnetcore-latest/.devcontainer/devcontainer.json index 14ef29c5b7..c2a36f2404 100644 --- a/containers/dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest/.devcontainer/devcontainer.json @@ -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": [] + } diff --git a/containers/go/.devcontainer/devcontainer.json b/containers/go/.devcontainer/devcontainer.json index 5565bc1de4..e7c14d3c22 100644 --- a/containers/go/.devcontainer/devcontainer.json +++ b/containers/go/.devcontainer/devcontainer.json @@ -6,7 +6,13 @@ ], "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": [] + } \ No newline at end of file diff --git a/containers/java-11/.devcontainer/devcontainer.json b/containers/java-11/.devcontainer/devcontainer.json index 7fa6ca4020..e6a45ccc94 100644 --- a/containers/java-11/.devcontainer/devcontainer.json +++ b/containers/java-11/.devcontainer/devcontainer.json @@ -3,5 +3,12 @@ "dockerFile": "Dockerfile", "extensions": [ "vscjava.vscode-java-pack" - ] + ], + + // 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": [] + } diff --git a/containers/java-12/.devcontainer/devcontainer.json b/containers/java-12/.devcontainer/devcontainer.json index 611f4fd9a8..906370cc0a 100644 --- a/containers/java-12/.devcontainer/devcontainer.json +++ b/containers/java-12/.devcontainer/devcontainer.json @@ -3,5 +3,12 @@ "dockerFile": "Dockerfile", "extensions": [ "vscjava.vscode-java-pack" - ] + ], + + // 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": [] + } diff --git a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json index 4a2f44118b..413185f014 100644 --- a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json +++ b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json @@ -4,5 +4,12 @@ "extensions": [ "vscjava.vscode-java-pack", "adashen.vscode-tomcat" - ] + ], + + // 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": [] + } diff --git a/containers/java-8/.devcontainer/devcontainer.json b/containers/java-8/.devcontainer/devcontainer.json index 44542b0942..40fbe4e223 100644 --- a/containers/java-8/.devcontainer/devcontainer.json +++ b/containers/java-8/.devcontainer/devcontainer.json @@ -3,5 +3,12 @@ "dockerFile": "Dockerfile", "extensions": [ "vscjava.vscode-java-pack" - ] + ], + + // 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": [] + } diff --git a/containers/javascript-node-8/.devcontainer/devcontainer.json b/containers/javascript-node-8/.devcontainer/devcontainer.json index e4bbb8a9b5..87670e8944 100644 --- a/containers/javascript-node-8/.devcontainer/devcontainer.json +++ b/containers/javascript-node-8/.devcontainer/devcontainer.json @@ -3,5 +3,12 @@ "dockerFile": "Dockerfile", "extensions": [ "dbaeumer.vscode-eslint" - ] + ], + + // 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": [] + } \ No newline at end of file diff --git a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json index 5234ed6ef3..4a29963292 100644 --- a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json @@ -1,10 +1,16 @@ { - "name": "Node.js & Mongo DB", - "dockerComposeFile": "docker-compose.yml", - "service": "web", - "workspaceFolder": "/workspace", - "shutdownAction": "stopCompose", - "extensions": [ - "dbaeumer.vscode-eslint" - ] + "name": "Node.js & Mongo DB", + "dockerComposeFile": "docker-compose.yml", + "service": "web", + "workspaceFolder": "/workspace", + "extensions": [ + "dbaeumer.vscode-eslint" + ], + + // 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": [] + } \ No newline at end of file diff --git a/containers/javascript-node-lts-mongo/.devcontainer/docker-compose.yml b/containers/javascript-node-lts-mongo/.devcontainer/docker-compose.yml index 03b47fa360..bf1f815dfe 100644 --- a/containers/javascript-node-lts-mongo/.devcontainer/docker-compose.yml +++ b/containers/javascript-node-lts-mongo/.devcontainer/docker-compose.yml @@ -15,7 +15,7 @@ services: # This lets you avoid setting up Git again in the container - ~/.gitconfig:/root/.gitconfig - # 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 links: diff --git a/containers/javascript-node-lts/.devcontainer/devcontainer.json b/containers/javascript-node-lts/.devcontainer/devcontainer.json index 29164c5cc5..3de7b16599 100644 --- a/containers/javascript-node-lts/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts/.devcontainer/devcontainer.json @@ -1,8 +1,14 @@ { "name": "Node.js (latest LTS)", "dockerFile": "Dockerfile", - "appPort": 3000, "extensions": [ "dbaeumer.vscode-eslint" - ] + ], + + // 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": [] + } diff --git a/containers/kubernetes-helm/.devcontainer/devcontainer.json b/containers/kubernetes-helm/.devcontainer/devcontainer.json index 66a82bd60f..22bf3d2be9 100644 --- a/containers/kubernetes-helm/.devcontainer/devcontainer.json +++ b/containers/kubernetes-helm/.devcontainer/devcontainer.json @@ -10,8 +10,7 @@ "-v", "/var/run/docker.sock:/var/run/docker.sock", "-v", "${env:HOME}${env:USERPROFILE}/.kube:/root/.kube-localhost", - // 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 will use a ptrace-based debugger like C++, Go, and Rust. + // "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file diff --git a/containers/markdown/.devcontainer/devcontainer.json b/containers/markdown/.devcontainer/devcontainer.json index 9494b279ad..5fcc847dfb 100644 --- a/containers/markdown/.devcontainer/devcontainer.json +++ b/containers/markdown/.devcontainer/devcontainer.json @@ -6,5 +6,12 @@ "streetsidesoftware.code-spell-checker", "DavidAnson.vscode-markdownlint", "esbenp.prettier-vscode" - ] + ], + + // 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": [] + } \ No newline at end of file diff --git a/containers/php-7/.devcontainer/devcontainer.json b/containers/php-7/.devcontainer/devcontainer.json index dbf9a349bb..2b6af48842 100644 --- a/containers/php-7/.devcontainer/devcontainer.json +++ b/containers/php-7/.devcontainer/devcontainer.json @@ -4,5 +4,12 @@ "extensions": [ "felixfbecker.php-debug", "felixfbecker.php-intellisense" - ] + ], + + // 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": [] + } diff --git a/containers/plantuml/.devcontainer/devcontainer.json b/containers/plantuml/.devcontainer/devcontainer.json index 15e5aa6ecf..032bb680b2 100644 --- a/containers/plantuml/.devcontainer/devcontainer.json +++ b/containers/plantuml/.devcontainer/devcontainer.json @@ -3,5 +3,11 @@ "dockerFile": "Dockerfile", "extensions": [ "jebbs.plantuml" - ] + ], + + // 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": [] } \ No newline at end of file diff --git a/containers/powershell/.devcontainer/devcontainer.json b/containers/powershell/.devcontainer/devcontainer.json index a5366ff63e..b9504594e7 100644 --- a/containers/powershell/.devcontainer/devcontainer.json +++ b/containers/powershell/.devcontainer/devcontainer.json @@ -3,5 +3,12 @@ "dockerFile": "Dockerfile", "extensions": [ "ms-vscode.powershell" - ] + ], + + // 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": [] + } \ No newline at end of file diff --git a/containers/python-2/.devcontainer/devcontainer.json b/containers/python-2/.devcontainer/devcontainer.json index 6004c5ac2c..81e2f8002b 100644 --- a/containers/python-2/.devcontainer/devcontainer.json +++ b/containers/python-2/.devcontainer/devcontainer.json @@ -2,8 +2,14 @@ "name": "Python 2", "context": "..", "dockerFile": "Dockerfile", - "workspaceFolder": "/workspace", "extensions": [ "ms-python.python" - ] + ], + + // 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": [] + } diff --git a/containers/python-3-anaconda/.devcontainer/devcontainer.json b/containers/python-3-anaconda/.devcontainer/devcontainer.json index 9167c83b88..d7f80f264b 100644 --- a/containers/python-3-anaconda/.devcontainer/devcontainer.json +++ b/containers/python-3-anaconda/.devcontainer/devcontainer.json @@ -2,9 +2,14 @@ "name": "Python 3 - Anaconda", "context": "..", "dockerFile": "Dockerfile", - "appPort": "5000:5000", - "workspaceFolder": "/workspace", "extensions": [ "ms-python.python" - ] + ], + + // 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": [] + } \ No newline at end of file diff --git a/containers/python-3-anaconda/plot.png b/containers/python-3-anaconda/plot.png new file mode 100644 index 0000000000000000000000000000000000000000..328410e0140c9333afbf5a2b049c03af79ceb160 GIT binary patch literal 23145 zcmbsRbyQVf^frngK)R*7QyP>82>}5S5EYOHK|rOuyFo$;2>~fVQj~5fDFG=#Qd+w6 zH_zw$zW2W4ckh4KG0u>)&)Ivgwf06$f@;A9YZgtE*QjelO+3Qef~TlZ)hhEFrvoj44FSB_tqh)w^F`>SQQXFe6OsvD~oj zH8782!Wc{>uY;Ghfq?(JRWwmpf{Ahx3jK-Yv9#{%v|up>7qW7jAir~yOh6usi8}&^ zk|~(zts;6fk$kvn4yqCslOmhe|HsqfQNDL{nEd|w%Ao5_)UV>FEO+ia;rqRO=Ja0B z9Aj^9Pwe;gi_OU@Ocxgy6?Jv*xyookF-b|Zxhr9g>1@>e`GG9ixVk!t)%A653%}Ud zSd(ZuH8nM+bDHh|G)y95;?~KlziWGcf7rXZC0`im>q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&1bN%wLz zgI|_qynJ~qMqi}$f~3K)w07c+LeWjXBMnSw1`G`Kob>ecl*6S{UQ!a@z5B!`GdtFjJg*62r@aVPP}f0%Bx0U?B-Y6>_z!Dxw} z0WO$YW};FYK)nzvpk+xaWOK1|>Vl}jK0L3svjAg_%eS+&#m%IrbAd{eFfhOcdx_M> zwJ=y??CtGwGntt@wDk0@AEFs8%1AtyJlT^B#Xz5nr_bU1V%e`Ir$1CsSI6bh@Hp(B zgOhZ}f#<>n03wPk7zLc5AM5MngAZI8RrQ}`fsNaPr6HwdOP<5SL)ZZXO=?EJr-v!= zg%0+BC={yiUM)0okxmIvHGi;lz#D=#Z1{3MT^J}5UIpHT{v*TiaP9ZD7eU2&BH8db zA_#mT4`C8ZhRR33KlMl@MBl(2(p_T{6TOg--OE_Bvz&0gIN=_x@9$sJI>*4lmetC@ z!3($ui-7vy4eZn5VSAe~u&Ck7^PZ=~Nyvfj%PPL-|Cz2wY&)^^3!lOgx Date: Thu, 9 May 2019 16:46:04 -0700 Subject: [PATCH 15/31] Add command into postCreateCommand comments --- .gitattributes | 1 + .../dockerfile/.devcontainer/devcontainer.json | 2 +- containers/azure-cli/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 5 ++--- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../azure-terraform/.devcontainer/devcontainer.json | 2 +- containers/cpp/.devcontainer/devcontainer.json | 2 +- containers/dart/.devcontainer/devcontainer.json | 2 +- containers/debian-9-git/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../docker-in-docker/.devcontainer/devcontainer.json | 3 ++- .../.devcontainer/devcontainer.json | 2 +- .../dotnetcore-2.1/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../dotnetcore-latest/.devcontainer/devcontainer.json | 2 +- containers/go/.devcontainer/devcontainer.json | 2 +- containers/java-11/.devcontainer/devcontainer.json | 2 +- containers/java-12/.devcontainer/devcontainer.json | 2 +- .../java-8-tomcat-8.5/.devcontainer/devcontainer.json | 2 +- containers/java-8/.devcontainer/devcontainer.json | 2 +- .../javascript-node-8/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../javascript-node-lts/.devcontainer/devcontainer.json | 2 +- .../kubernetes-helm/.devcontainer/devcontainer.json | 9 ++++++++- containers/markdown/.devcontainer/devcontainer.json | 2 +- containers/php-7/.devcontainer/devcontainer.json | 2 +- containers/plantuml/.devcontainer/devcontainer.json | 2 +- containers/powershell/.devcontainer/devcontainer.json | 2 +- containers/python-2/.devcontainer/devcontainer.json | 2 +- .../python-3-anaconda/.devcontainer/devcontainer.json | 2 +- .../python-3-miniconda/.devcontainer/devcontainer.json | 2 +- .../python-3-postgres/.devcontainer/devcontainer.json | 2 +- containers/python-3/.devcontainer/devcontainer.json | 2 +- containers/ruby-2/.devcontainer/devcontainer.json | 2 +- containers/rust/.devcontainer/devcontainer.json | 2 +- containers/swift-4/.devcontainer/devcontainer.json | 2 +- .../typescript-node-8/.devcontainer/devcontainer.json | 2 +- .../typescript-node-lts/.devcontainer/devcontainer.json | 2 +- .../ubuntu-18.04-git/.devcontainer/devcontainer.json | 2 +- 45 files changed, 54 insertions(+), 46 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..6313b56c57 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index 33bc039612..8a021613d9 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -22,5 +22,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["az --version"] } \ No newline at end of file diff --git a/containers/azure-cli/.devcontainer/devcontainer.json b/containers/azure-cli/.devcontainer/devcontainer.json index 0daaa3f17f..077fbf1e0f 100644 --- a/containers/azure-cli/.devcontainer/devcontainer.json +++ b/containers/azure-cli/.devcontainer/devcontainer.json @@ -9,5 +9,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["az --version"] } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json index ffca5aae64..58b360e9cc 100644 --- a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json index fa207cb37d..658148e912 100644 --- a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } \ No newline at end of file diff --git a/containers/azure-functions-java-8/.devcontainer/devcontainer.json b/containers/azure-functions-java-8/.devcontainer/devcontainer.json index 62176fa767..fadfa8139e 100644 --- a/containers/azure-functions-java-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-java-8/.devcontainer/devcontainer.json @@ -4,10 +4,9 @@ "appPort": 7071, "extensions": [ "ms-azuretools.vscode-azurefunctions", - "vscjava.vscode-java-pack", - "redhat.vscode-xml" + "vscjava.vscode-java-pack" ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } \ No newline at end of file diff --git a/containers/azure-functions-node-8/.devcontainer/devcontainer.json b/containers/azure-functions-node-8/.devcontainer/devcontainer.json index 43bbe1ffac..db2d8b6c36 100644 --- a/containers/azure-functions-node-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-8/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["npm install"] } \ No newline at end of file diff --git a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json index 7dbd4bb24e..c5d2fa0e5a 100644 --- a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["npm install"] } \ No newline at end of file diff --git a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json index f63a55957d..7975f8f819 100644 --- a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json +++ b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json @@ -11,5 +11,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["pip install -r requirements.txt"] } \ No newline at end of file diff --git a/containers/azure-terraform/.devcontainer/devcontainer.json b/containers/azure-terraform/.devcontainer/devcontainer.json index c4e8d0696f..ad812a05f9 100644 --- a/containers/azure-terraform/.devcontainer/devcontainer.json +++ b/containers/azure-terraform/.devcontainer/devcontainer.json @@ -13,5 +13,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["terraform --version"] } \ No newline at end of file diff --git a/containers/cpp/.devcontainer/devcontainer.json b/containers/cpp/.devcontainer/devcontainer.json index 93a1f71f0e..7917271f27 100644 --- a/containers/cpp/.devcontainer/devcontainer.json +++ b/containers/cpp/.devcontainer/devcontainer.json @@ -13,5 +13,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["gcc -v"] } \ No newline at end of file diff --git a/containers/dart/.devcontainer/devcontainer.json b/containers/dart/.devcontainer/devcontainer.json index 51056255c3..66aa7c04b1 100644 --- a/containers/dart/.devcontainer/devcontainer.json +++ b/containers/dart/.devcontainer/devcontainer.json @@ -10,5 +10,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["pub get"] } diff --git a/containers/debian-9-git/.devcontainer/devcontainer.json b/containers/debian-9-git/.devcontainer/devcontainer.json index 0613b5aca0..c0b2e50a11 100644 --- a/containers/debian-9-git/.devcontainer/devcontainer.json +++ b/containers/debian-9-git/.devcontainer/devcontainer.json @@ -9,7 +9,7 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] // 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" ], diff --git a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json index 254b6fa9ff..6a4423fe5e 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json @@ -24,5 +24,5 @@ // "extensions": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] } \ No newline at end of file diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index d3c445ad75..c1c48e297e 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -15,7 +15,7 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ diff --git a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json index 7323ba3228..add0a88652 100644 --- a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["docker --version"] } \ No newline at end of file diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index c65154be75..8d94299222 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -6,6 +6,7 @@ ], "runArgs": [ "-v", "/var/run/docker.sock:/var/run/docker.sock", + // 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" @@ -15,6 +16,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["docker --version"] } \ No newline at end of file diff --git a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json index fe62fdb4e9..8ea0594ba2 100644 --- a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } \ No newline at end of file diff --git a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json index 49fa2f1842..59bb6a94fd 100644 --- a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } \ No newline at end of file diff --git a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json index 8250a50d94..16a630155d 100644 --- a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } \ No newline at end of file diff --git a/containers/dotnetcore-latest/.devcontainer/devcontainer.json b/containers/dotnetcore-latest/.devcontainer/devcontainer.json index c2a36f2404..5024b0e541 100644 --- a/containers/dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["dotnet restore"] } diff --git a/containers/go/.devcontainer/devcontainer.json b/containers/go/.devcontainer/devcontainer.json index e7c14d3c22..bbba62efc9 100644 --- a/containers/go/.devcontainer/devcontainer.json +++ b/containers/go/.devcontainer/devcontainer.json @@ -13,6 +13,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["go version"] } \ No newline at end of file diff --git a/containers/java-11/.devcontainer/devcontainer.json b/containers/java-11/.devcontainer/devcontainer.json index e6a45ccc94..d17f34d6a2 100644 --- a/containers/java-11/.devcontainer/devcontainer.json +++ b/containers/java-11/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } diff --git a/containers/java-12/.devcontainer/devcontainer.json b/containers/java-12/.devcontainer/devcontainer.json index 906370cc0a..b86f125f9d 100644 --- a/containers/java-12/.devcontainer/devcontainer.json +++ b/containers/java-12/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } diff --git a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json index 413185f014..f8ea3d314b 100644 --- a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json +++ b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } diff --git a/containers/java-8/.devcontainer/devcontainer.json b/containers/java-8/.devcontainer/devcontainer.json index 40fbe4e223..910953704c 100644 --- a/containers/java-8/.devcontainer/devcontainer.json +++ b/containers/java-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } diff --git a/containers/javascript-node-8/.devcontainer/devcontainer.json b/containers/javascript-node-8/.devcontainer/devcontainer.json index 87670e8944..463ce89b16 100644 --- a/containers/javascript-node-8/.devcontainer/devcontainer.json +++ b/containers/javascript-node-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["yarn install"] } \ No newline at end of file diff --git a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json index 4a29963292..bd4f13daf0 100644 --- a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["yarn install"] } \ No newline at end of file diff --git a/containers/javascript-node-lts/.devcontainer/devcontainer.json b/containers/javascript-node-lts/.devcontainer/devcontainer.json index 3de7b16599..363ad4e537 100644 --- a/containers/javascript-node-lts/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["yarn install"] } diff --git a/containers/kubernetes-helm/.devcontainer/devcontainer.json b/containers/kubernetes-helm/.devcontainer/devcontainer.json index 22bf3d2be9..c011bde9ca 100644 --- a/containers/kubernetes-helm/.devcontainer/devcontainer.json +++ b/containers/kubernetes-helm/.devcontainer/devcontainer.json @@ -12,5 +12,12 @@ // Uncomment the next line 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": ["kubectl version"] + } \ No newline at end of file diff --git a/containers/markdown/.devcontainer/devcontainer.json b/containers/markdown/.devcontainer/devcontainer.json index 5fcc847dfb..ce3ae2d004 100644 --- a/containers/markdown/.devcontainer/devcontainer.json +++ b/containers/markdown/.devcontainer/devcontainer.json @@ -12,6 +12,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] } \ No newline at end of file diff --git a/containers/php-7/.devcontainer/devcontainer.json b/containers/php-7/.devcontainer/devcontainer.json index 2b6af48842..3dda5da321 100644 --- a/containers/php-7/.devcontainer/devcontainer.json +++ b/containers/php-7/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["php -v"] } diff --git a/containers/plantuml/.devcontainer/devcontainer.json b/containers/plantuml/.devcontainer/devcontainer.json index 032bb680b2..06584aad02 100644 --- a/containers/plantuml/.devcontainer/devcontainer.json +++ b/containers/plantuml/.devcontainer/devcontainer.json @@ -9,5 +9,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["java -version"] } \ No newline at end of file diff --git a/containers/powershell/.devcontainer/devcontainer.json b/containers/powershell/.devcontainer/devcontainer.json index b9504594e7..3a3af20e13 100644 --- a/containers/powershell/.devcontainer/devcontainer.json +++ b/containers/powershell/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["powershell echo $PSVersionTable"] } \ No newline at end of file diff --git a/containers/python-2/.devcontainer/devcontainer.json b/containers/python-2/.devcontainer/devcontainer.json index 81e2f8002b..46de6d343f 100644 --- a/containers/python-2/.devcontainer/devcontainer.json +++ b/containers/python-2/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["pip install -r requirements.txt"] } diff --git a/containers/python-3-anaconda/.devcontainer/devcontainer.json b/containers/python-3-anaconda/.devcontainer/devcontainer.json index d7f80f264b..51b0d34dc1 100644 --- a/containers/python-3-anaconda/.devcontainer/devcontainer.json +++ b/containers/python-3-anaconda/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["conda env update base -f environment.yml"] } \ No newline at end of file diff --git a/containers/python-3-miniconda/.devcontainer/devcontainer.json b/containers/python-3-miniconda/.devcontainer/devcontainer.json index 6f8ba5e5cf..680bbace08 100644 --- a/containers/python-3-miniconda/.devcontainer/devcontainer.json +++ b/containers/python-3-miniconda/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["conda env update base -f environment.yml"] } \ No newline at end of file diff --git a/containers/python-3-postgres/.devcontainer/devcontainer.json b/containers/python-3-postgres/.devcontainer/devcontainer.json index 69621fc415..d9556d52e2 100644 --- a/containers/python-3-postgres/.devcontainer/devcontainer.json +++ b/containers/python-3-postgres/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["pip install -r requirements.txt"] } \ No newline at end of file diff --git a/containers/python-3/.devcontainer/devcontainer.json b/containers/python-3/.devcontainer/devcontainer.json index 3763b2ccba..2795d3d0d5 100644 --- a/containers/python-3/.devcontainer/devcontainer.json +++ b/containers/python-3/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["pip install -r requirements.txt"] } \ No newline at end of file diff --git a/containers/ruby-2/.devcontainer/devcontainer.json b/containers/ruby-2/.devcontainer/devcontainer.json index 896a977d97..9eddbe4907 100644 --- a/containers/ruby-2/.devcontainer/devcontainer.json +++ b/containers/ruby-2/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["ruby --version"] } \ No newline at end of file diff --git a/containers/rust/.devcontainer/devcontainer.json b/containers/rust/.devcontainer/devcontainer.json index 29ccadc8b5..79793c1021 100644 --- a/containers/rust/.devcontainer/devcontainer.json +++ b/containers/rust/.devcontainer/devcontainer.json @@ -15,6 +15,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["rustc --version"] } \ No newline at end of file diff --git a/containers/swift-4/.devcontainer/devcontainer.json b/containers/swift-4/.devcontainer/devcontainer.json index a5aab3319f..4a0ff3c3a0 100644 --- a/containers/swift-4/.devcontainer/devcontainer.json +++ b/containers/swift-4/.devcontainer/devcontainer.json @@ -15,6 +15,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["swiftc --version"] } \ No newline at end of file diff --git a/containers/typescript-node-8/.devcontainer/devcontainer.json b/containers/typescript-node-8/.devcontainer/devcontainer.json index 41b4a87adf..7e73249c6c 100644 --- a/containers/typescript-node-8/.devcontainer/devcontainer.json +++ b/containers/typescript-node-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["yarn install"] } \ No newline at end of file diff --git a/containers/typescript-node-lts/.devcontainer/devcontainer.json b/containers/typescript-node-lts/.devcontainer/devcontainer.json index 5309c90b85..9f74622478 100644 --- a/containers/typescript-node-lts/.devcontainer/devcontainer.json +++ b/containers/typescript-node-lts/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["yarn install"] } \ No newline at end of file diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index 1ce52f5734..9fce0a6365 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -9,7 +9,7 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] // 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" ], From 9f7fd6e98bf516b87f5787200ad2fbc21e238bf9 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Thu, 9 May 2019 16:48:32 -0700 Subject: [PATCH 16/31] Add postCreateCommand example to templates --- .../docker-compose/.devcontainer/devcontainer.json | 2 +- container-templates/dockerfile/.devcontainer/devcontainer.json | 2 +- container-templates/image/.devcontainer/devcontainer.json | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/container-templates/docker-compose/.devcontainer/devcontainer.json b/container-templates/docker-compose/.devcontainer/devcontainer.json index 19b6a18cb2..e510691e7c 100644 --- a/container-templates/docker-compose/.devcontainer/devcontainer.json +++ b/container-templates/docker-compose/.devcontainer/devcontainer.json @@ -20,6 +20,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] } \ No newline at end of file diff --git a/container-templates/dockerfile/.devcontainer/devcontainer.json b/container-templates/dockerfile/.devcontainer/devcontainer.json index 8a021613d9..908442c8ef 100644 --- a/container-templates/dockerfile/.devcontainer/devcontainer.json +++ b/container-templates/dockerfile/.devcontainer/devcontainer.json @@ -22,5 +22,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["az --version"] + // "postCreateCommand": ["uname -a"] } \ No newline at end of file diff --git a/container-templates/image/.devcontainer/devcontainer.json b/container-templates/image/.devcontainer/devcontainer.json index 9f7be0b07e..796f74b4f4 100644 --- a/container-templates/image/.devcontainer/devcontainer.json +++ b/container-templates/image/.devcontainer/devcontainer.json @@ -6,7 +6,6 @@ "image": "ubuntu:bionic", // Use the optional 'appPort' property to publish any ports you want to access. - "appPort": [], // Add any extensions you want auto-installed here. @@ -23,5 +22,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": [] + // "postCreateCommand": ["uname -a"] } \ No newline at end of file From 0633a2b98aafe8fd622d599483054e70978b3415 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 10 May 2019 07:35:56 -0700 Subject: [PATCH 17/31] Drop array for postCreateCommand --- .gitattributes | 2 ++ .../azure-cli/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../cpp/.devcontainer/devcontainer.json | 2 +- .../dart/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 4 ++-- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- containers/go/.devcontainer/devcontainer.json | 2 +- .../java-11/.devcontainer/devcontainer.json | 2 +- .../java-12/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../java-8/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../markdown/.devcontainer/devcontainer.json | 20 +++++++++---------- .../php-7/.devcontainer/devcontainer.json | 2 +- .../plantuml/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../python-2/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../python-3/.devcontainer/devcontainer.json | 2 +- .../ruby-2/.devcontainer/devcontainer.json | 2 +- .../rust/.devcontainer/devcontainer.json | 2 +- .../swift-4/.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 2 +- .../.devcontainer/devcontainer.json | 4 ++-- 44 files changed, 56 insertions(+), 54 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6313b56c57..314766e91b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ * text=auto eol=lf +*.{cmd,[cC][mM][dD]} text eol=crlf +*.{bat,[bB][aA][tT]} text eol=crlf diff --git a/containers/azure-cli/.devcontainer/devcontainer.json b/containers/azure-cli/.devcontainer/devcontainer.json index 077fbf1e0f..949e551bd8 100644 --- a/containers/azure-cli/.devcontainer/devcontainer.json +++ b/containers/azure-cli/.devcontainer/devcontainer.json @@ -9,5 +9,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["az --version"] + // "postCreateCommand": "az --version" } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json index 58b360e9cc..cba48c520f 100644 --- a/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-2.1/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } \ No newline at end of file diff --git a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json index 658148e912..dc42eedb2c 100644 --- a/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/azure-functions-dotnetcore-latest/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } \ No newline at end of file diff --git a/containers/azure-functions-java-8/.devcontainer/devcontainer.json b/containers/azure-functions-java-8/.devcontainer/devcontainer.json index fadfa8139e..0dff34dd13 100644 --- a/containers/azure-functions-java-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-java-8/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } \ No newline at end of file diff --git a/containers/azure-functions-node-8/.devcontainer/devcontainer.json b/containers/azure-functions-node-8/.devcontainer/devcontainer.json index db2d8b6c36..82c06c7055 100644 --- a/containers/azure-functions-node-8/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-8/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["npm install"] + // "postCreateCommand": "npm install" } \ No newline at end of file diff --git a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json index c5d2fa0e5a..377db6e1a2 100644 --- a/containers/azure-functions-node-lts/.devcontainer/devcontainer.json +++ b/containers/azure-functions-node-lts/.devcontainer/devcontainer.json @@ -8,5 +8,5 @@ ], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["npm install"] + // "postCreateCommand": "npm install" } \ No newline at end of file diff --git a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json index 7975f8f819..360256a5d8 100644 --- a/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json +++ b/containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json @@ -11,5 +11,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["pip install -r requirements.txt"] + // "postCreateCommand": "pip install -r requirements.txt" } \ No newline at end of file diff --git a/containers/azure-terraform/.devcontainer/devcontainer.json b/containers/azure-terraform/.devcontainer/devcontainer.json index ad812a05f9..6739d44f44 100644 --- a/containers/azure-terraform/.devcontainer/devcontainer.json +++ b/containers/azure-terraform/.devcontainer/devcontainer.json @@ -13,5 +13,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["terraform --version"] + // "postCreateCommand": "terraform --version" } \ No newline at end of file diff --git a/containers/cpp/.devcontainer/devcontainer.json b/containers/cpp/.devcontainer/devcontainer.json index 7917271f27..6d3ba43716 100644 --- a/containers/cpp/.devcontainer/devcontainer.json +++ b/containers/cpp/.devcontainer/devcontainer.json @@ -13,5 +13,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["gcc -v"] + // "postCreateCommand": "gcc -v" } \ No newline at end of file diff --git a/containers/dart/.devcontainer/devcontainer.json b/containers/dart/.devcontainer/devcontainer.json index 66aa7c04b1..a696913065 100644 --- a/containers/dart/.devcontainer/devcontainer.json +++ b/containers/dart/.devcontainer/devcontainer.json @@ -10,5 +10,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["pub get"] + // "postCreateCommand": "pub get" } diff --git a/containers/debian-9-git/.devcontainer/devcontainer.json b/containers/debian-9-git/.devcontainer/devcontainer.json index c0b2e50a11..82f04eee36 100644 --- a/containers/debian-9-git/.devcontainer/devcontainer.json +++ b/containers/debian-9-git/.devcontainer/devcontainer.json @@ -9,9 +9,9 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["uname -a"] + // "postCreateCommand": "uname -a", // 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" ], + // "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file diff --git a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json index 6a4423fe5e..271b24c0a8 100644 --- a/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-existing-docker-compose/.devcontainer/devcontainer.json @@ -24,5 +24,5 @@ // "extensions": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["uname -a"] + // "postCreateCommand": "uname -a" } \ No newline at end of file diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index c1c48e297e..38d6a3de92 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -15,7 +15,7 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["uname -a"] + // "postCreateCommand": ["uname -a"], // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ diff --git a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json index add0a88652..ccf06bf0e9 100644 --- a/containers/docker-in-docker-compose/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker-compose/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["docker --version"] + // "postCreateCommand": "docker --version" } \ No newline at end of file diff --git a/containers/docker-in-docker/.devcontainer/devcontainer.json b/containers/docker-in-docker/.devcontainer/devcontainer.json index 8d94299222..8baaa7a368 100644 --- a/containers/docker-in-docker/.devcontainer/devcontainer.json +++ b/containers/docker-in-docker/.devcontainer/devcontainer.json @@ -16,6 +16,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["docker --version"] + // "postCreateCommand": "docker --version" } \ No newline at end of file diff --git a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json index 8ea0594ba2..d5dd96c791 100644 --- a/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1-fsharp/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } \ No newline at end of file diff --git a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json index 59bb6a94fd..4b06f5715c 100644 --- a/containers/dotnetcore-2.1/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-2.1/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } \ No newline at end of file diff --git a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json index 16a630155d..1fa5bc7348 100644 --- a/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest-fsharp/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } \ No newline at end of file diff --git a/containers/dotnetcore-latest/.devcontainer/devcontainer.json b/containers/dotnetcore-latest/.devcontainer/devcontainer.json index 5024b0e541..bc4c65177d 100644 --- a/containers/dotnetcore-latest/.devcontainer/devcontainer.json +++ b/containers/dotnetcore-latest/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["dotnet restore"] + // "postCreateCommand": "dotnet restore" } diff --git a/containers/go/.devcontainer/devcontainer.json b/containers/go/.devcontainer/devcontainer.json index bbba62efc9..cffd6689a9 100644 --- a/containers/go/.devcontainer/devcontainer.json +++ b/containers/go/.devcontainer/devcontainer.json @@ -13,6 +13,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["go version"] + // "postCreateCommand": "go version" } \ No newline at end of file diff --git a/containers/java-11/.devcontainer/devcontainer.json b/containers/java-11/.devcontainer/devcontainer.json index d17f34d6a2..69399e0be5 100644 --- a/containers/java-11/.devcontainer/devcontainer.json +++ b/containers/java-11/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } diff --git a/containers/java-12/.devcontainer/devcontainer.json b/containers/java-12/.devcontainer/devcontainer.json index b86f125f9d..36ff521d06 100644 --- a/containers/java-12/.devcontainer/devcontainer.json +++ b/containers/java-12/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } diff --git a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json index f8ea3d314b..8687784889 100644 --- a/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json +++ b/containers/java-8-tomcat-8.5/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } diff --git a/containers/java-8/.devcontainer/devcontainer.json b/containers/java-8/.devcontainer/devcontainer.json index 910953704c..5f49de03c6 100644 --- a/containers/java-8/.devcontainer/devcontainer.json +++ b/containers/java-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } diff --git a/containers/javascript-node-8/.devcontainer/devcontainer.json b/containers/javascript-node-8/.devcontainer/devcontainer.json index 463ce89b16..5f2809e1c5 100644 --- a/containers/javascript-node-8/.devcontainer/devcontainer.json +++ b/containers/javascript-node-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["yarn install"] + // "postCreateCommand": "yarn install" } \ No newline at end of file diff --git a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json index bd4f13daf0..47d0a978af 100644 --- a/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts-mongo/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["yarn install"] + // "postCreateCommand": "yarn install" } \ No newline at end of file diff --git a/containers/javascript-node-lts/.devcontainer/devcontainer.json b/containers/javascript-node-lts/.devcontainer/devcontainer.json index 363ad4e537..c46d0651bb 100644 --- a/containers/javascript-node-lts/.devcontainer/devcontainer.json +++ b/containers/javascript-node-lts/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["yarn install"] + // "postCreateCommand": "yarn install" } diff --git a/containers/kubernetes-helm/.devcontainer/devcontainer.json b/containers/kubernetes-helm/.devcontainer/devcontainer.json index c011bde9ca..ace6f9a4f6 100644 --- a/containers/kubernetes-helm/.devcontainer/devcontainer.json +++ b/containers/kubernetes-helm/.devcontainer/devcontainer.json @@ -18,6 +18,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["kubectl version"] + // "postCreateCommand": "kubectl version" } \ No newline at end of file diff --git a/containers/markdown/.devcontainer/devcontainer.json b/containers/markdown/.devcontainer/devcontainer.json index ce3ae2d004..e589c8165a 100644 --- a/containers/markdown/.devcontainer/devcontainer.json +++ b/containers/markdown/.devcontainer/devcontainer.json @@ -1,17 +1,17 @@ { - "name": "Markdown Editing", - "dockerFile": "Dockerfile", - "extensions": [ - "yzhang.markdown-all-in-one", - "streetsidesoftware.code-spell-checker", - "DavidAnson.vscode-markdownlint", - "esbenp.prettier-vscode" + "name": "Markdown Editing", + "dockerFile": "Dockerfile", + "extensions": [ + "yzhang.markdown-all-in-one", + "streetsidesoftware.code-spell-checker", + "DavidAnson.vscode-markdownlint", + "esbenp.prettier-vscode" ], - + // 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": ["uname -a"] - + // "postCreateCommand": "uname -a" + } \ No newline at end of file diff --git a/containers/php-7/.devcontainer/devcontainer.json b/containers/php-7/.devcontainer/devcontainer.json index 3dda5da321..78f7c64da3 100644 --- a/containers/php-7/.devcontainer/devcontainer.json +++ b/containers/php-7/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["php -v"] + // "postCreateCommand": "php -v" } diff --git a/containers/plantuml/.devcontainer/devcontainer.json b/containers/plantuml/.devcontainer/devcontainer.json index 06584aad02..4367b5f5c7 100644 --- a/containers/plantuml/.devcontainer/devcontainer.json +++ b/containers/plantuml/.devcontainer/devcontainer.json @@ -9,5 +9,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["java -version"] + // "postCreateCommand": "java -version" } \ No newline at end of file diff --git a/containers/powershell/.devcontainer/devcontainer.json b/containers/powershell/.devcontainer/devcontainer.json index 3a3af20e13..b556a3470c 100644 --- a/containers/powershell/.devcontainer/devcontainer.json +++ b/containers/powershell/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["powershell echo $PSVersionTable"] + // "postCreateCommand": "powershell echo $PSVersionTable" } \ No newline at end of file diff --git a/containers/python-2/.devcontainer/devcontainer.json b/containers/python-2/.devcontainer/devcontainer.json index 46de6d343f..b4dd0a17e9 100644 --- a/containers/python-2/.devcontainer/devcontainer.json +++ b/containers/python-2/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["pip install -r requirements.txt"] + // "postCreateCommand": "pip install -r requirements.txt" } diff --git a/containers/python-3-anaconda/.devcontainer/devcontainer.json b/containers/python-3-anaconda/.devcontainer/devcontainer.json index 51b0d34dc1..9bca029410 100644 --- a/containers/python-3-anaconda/.devcontainer/devcontainer.json +++ b/containers/python-3-anaconda/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["conda env update base -f environment.yml"] + // "postCreateCommand": "conda env update base -f environment.yml" } \ No newline at end of file diff --git a/containers/python-3-miniconda/.devcontainer/devcontainer.json b/containers/python-3-miniconda/.devcontainer/devcontainer.json index 680bbace08..b20f5a228c 100644 --- a/containers/python-3-miniconda/.devcontainer/devcontainer.json +++ b/containers/python-3-miniconda/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["conda env update base -f environment.yml"] + // "postCreateCommand": "conda env update base -f environment.yml" } \ No newline at end of file diff --git a/containers/python-3-postgres/.devcontainer/devcontainer.json b/containers/python-3-postgres/.devcontainer/devcontainer.json index d9556d52e2..50ad470189 100644 --- a/containers/python-3-postgres/.devcontainer/devcontainer.json +++ b/containers/python-3-postgres/.devcontainer/devcontainer.json @@ -11,6 +11,6 @@ "shutdownAction": "stopCompose", // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["pip install -r requirements.txt"] + // "postCreateCommand": "pip install -r requirements.txt" } \ No newline at end of file diff --git a/containers/python-3/.devcontainer/devcontainer.json b/containers/python-3/.devcontainer/devcontainer.json index 2795d3d0d5..8e405e768b 100644 --- a/containers/python-3/.devcontainer/devcontainer.json +++ b/containers/python-3/.devcontainer/devcontainer.json @@ -10,6 +10,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["pip install -r requirements.txt"] + // "postCreateCommand": "pip install -r requirements.txt" } \ No newline at end of file diff --git a/containers/ruby-2/.devcontainer/devcontainer.json b/containers/ruby-2/.devcontainer/devcontainer.json index 9eddbe4907..ad396025b9 100644 --- a/containers/ruby-2/.devcontainer/devcontainer.json +++ b/containers/ruby-2/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["ruby --version"] + // "postCreateCommand": "ruby --version" } \ No newline at end of file diff --git a/containers/rust/.devcontainer/devcontainer.json b/containers/rust/.devcontainer/devcontainer.json index 79793c1021..36ba589ffa 100644 --- a/containers/rust/.devcontainer/devcontainer.json +++ b/containers/rust/.devcontainer/devcontainer.json @@ -15,6 +15,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["rustc --version"] + // "postCreateCommand": "rustc --version" } \ No newline at end of file diff --git a/containers/swift-4/.devcontainer/devcontainer.json b/containers/swift-4/.devcontainer/devcontainer.json index 4a0ff3c3a0..c18288ea0f 100644 --- a/containers/swift-4/.devcontainer/devcontainer.json +++ b/containers/swift-4/.devcontainer/devcontainer.json @@ -15,6 +15,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["swiftc --version"] + // "postCreateCommand": "swiftc --version" } \ No newline at end of file diff --git a/containers/typescript-node-8/.devcontainer/devcontainer.json b/containers/typescript-node-8/.devcontainer/devcontainer.json index 7e73249c6c..445e008a8e 100644 --- a/containers/typescript-node-8/.devcontainer/devcontainer.json +++ b/containers/typescript-node-8/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["yarn install"] + // "postCreateCommand": "yarn install" } \ No newline at end of file diff --git a/containers/typescript-node-lts/.devcontainer/devcontainer.json b/containers/typescript-node-lts/.devcontainer/devcontainer.json index 9f74622478..b69654df2b 100644 --- a/containers/typescript-node-lts/.devcontainer/devcontainer.json +++ b/containers/typescript-node-lts/.devcontainer/devcontainer.json @@ -9,6 +9,6 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["yarn install"] + // "postCreateCommand": "yarn install" } \ No newline at end of file diff --git a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json index 9fce0a6365..7a0babbcb0 100644 --- a/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json +++ b/containers/ubuntu-18.04-git/.devcontainer/devcontainer.json @@ -9,9 +9,9 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["uname -a"] + // "postCreateCommand": "uname -a", // 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" ], + // "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ] } \ No newline at end of file From 3f29a7f3bb837f0500f95735c6387a508740da76 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 10 May 2019 07:40:17 -0700 Subject: [PATCH 18/31] Use string for postCreateCommand --- .../docker-existing-dockerfile/.devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json index 38d6a3de92..2ee74c5136 100644 --- a/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json +++ b/containers/docker-existing-dockerfile/.devcontainer/devcontainer.json @@ -15,7 +15,7 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": ["uname -a"], + // "postCreateCommand": "uname -a", // The optional 'runArgs' property can be used to specify additional runtime arguments. "runArgs": [ From d9ae89cf7deacb0ee82e6b363ca1e06c0a95ea4b Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:06:55 +0100 Subject: [PATCH 19/31] Dart: fix pedantic lint for unawaited future --- containers/dart/test-project/server.dart | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/containers/dart/test-project/server.dart b/containers/dart/test-project/server.dart index 1b7512b58f..ef53c3e74d 100644 --- a/containers/dart/test-project/server.dart +++ b/containers/dart/test-project/server.dart @@ -4,14 +4,14 @@ *-------------------------------------------------------------------------------------------------------------*/ import 'dart:io'; +import 'package:pedantic/pedantic.dart'; Future main() async { - - - var server = await HttpServer.bind( + final server = await HttpServer.bind( InternetAddress.loopbackIPv4, 8080, ); + print('*************************************************************************'); print('* Press F1, select "Remote-Containers: Forward Port from Container...", *'); print('* and select the server port listed below to access server. *'); @@ -19,8 +19,7 @@ Future main() async { print('Listening on localhost:${server.port}'); await for (HttpRequest request in server) { - request.response - ..write('Hello remote world!') - ..close(); + request.response.write('Hello remote world!'); + unawaited(request.response.close()); } } \ No newline at end of file From 395b110be70adc56fa795bbc6fefd251a4564293 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:07:29 +0100 Subject: [PATCH 20/31] Dart: Move server into bin/ folder and un-ignore --- containers/dart/.vscode/launch.json | 4 ++-- containers/dart/test-project/.gitignore | 3 +++ containers/dart/test-project/{ => bin}/server.dart | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename containers/dart/test-project/{ => bin}/server.dart (100%) diff --git a/containers/dart/.vscode/launch.json b/containers/dart/.vscode/launch.json index eed8622f79..9a941e7b3f 100644 --- a/containers/dart/.vscode/launch.json +++ b/containers/dart/.vscode/launch.json @@ -8,8 +8,8 @@ "name": "Launch Server", "type": "dart", "request": "launch", - "program": "server.dart", - "cwd": "${workspaceFolder}/test-project", + "program": "bin/server.dart", + "cwd": "test-project", "preLaunchTask": "get" } ] diff --git a/containers/dart/test-project/.gitignore b/containers/dart/test-project/.gitignore index 50602ac67e..03d22407c8 100644 --- a/containers/dart/test-project/.gitignore +++ b/containers/dart/test-project/.gitignore @@ -9,3 +9,6 @@ build/ # Directory created by dartdoc doc/api/ + +# Don't exclude bin/ folders for Dart projects +![Bb]in/ \ No newline at end of file diff --git a/containers/dart/test-project/server.dart b/containers/dart/test-project/bin/server.dart similarity index 100% rename from containers/dart/test-project/server.dart rename to containers/dart/test-project/bin/server.dart From 2884e4f2a1f8ce7af46c4dde7cf2488c952505c2 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:08:39 +0100 Subject: [PATCH 21/31] Dart: Remove unused dependencies --- containers/dart/.devcontainer/Dockerfile | 2 -- containers/dart/test-project/pubspec.yaml | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/containers/dart/.devcontainer/Dockerfile b/containers/dart/.devcontainer/Dockerfile index 527e428476..4119eb5bee 100644 --- a/containers/dart/.devcontainer/Dockerfile +++ b/containers/dart/.devcontainer/Dockerfile @@ -7,8 +7,6 @@ FROM google/dart:2 ENV PATH="$PATH":"/root/.pub-cache/bin" -RUN pub global activate webdev - # Install git, process tools RUN apt-get update && apt-get -y install git procps diff --git a/containers/dart/test-project/pubspec.yaml b/containers/dart/test-project/pubspec.yaml index 5f3b44b037..5a265153dd 100644 --- a/containers/dart/test-project/pubspec.yaml +++ b/containers/dart/test-project/pubspec.yaml @@ -10,6 +10,5 @@ environment: sdk: '>=2.1.0 <3.0.0' dev_dependencies: - build_runner: ^1.1.2 - build_web_compilers: ^1.0.0 pedantic: ^1.0.0 + \ No newline at end of file From b84beec7817ffdcc35f385940c1e45fb16e3ffb7 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:09:20 +0100 Subject: [PATCH 22/31] Dart: Don't run pub-get on every launch --- containers/dart/.vscode/launch.json | 3 +-- containers/dart/.vscode/tasks.json | 13 ------------- containers/dart/README.md | 11 ++++++----- 3 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 containers/dart/.vscode/tasks.json diff --git a/containers/dart/.vscode/launch.json b/containers/dart/.vscode/launch.json index 9a941e7b3f..ae1c3bd367 100644 --- a/containers/dart/.vscode/launch.json +++ b/containers/dart/.vscode/launch.json @@ -9,8 +9,7 @@ "type": "dart", "request": "launch", "program": "bin/server.dart", - "cwd": "test-project", - "preLaunchTask": "get" + "cwd": "test-project" } ] } \ No newline at end of file diff --git a/containers/dart/.vscode/tasks.json b/containers/dart/.vscode/tasks.json deleted file mode 100644 index 458981e967..0000000000 --- a/containers/dart/.vscode/tasks.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "get", - "type": "shell", - "command": "cd test-project && pub get" - } - - ] -} \ No newline at end of file diff --git a/containers/dart/README.md b/containers/dart/README.md index 7ac13d4707..04e895c4e3 100644 --- a/containers/dart/README.md +++ b/containers/dart/README.md @@ -38,11 +38,12 @@ This definition includes some test code that will help you verify it is working 2. Clone this repository. 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 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. +5. After the folder has opened in the container, press F1, and select **Pub: Get Packages** to download packages +6. After packages have been downloaded, press F5 to start the project. +7. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** +8. Select port 8080 and click the "Open Browser" button in the notification that appears. +9. You should see "Hello remote world!" after the page loads. +10. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. ## License From 2f8627137e2c5489da315466193640a2e379bc2f Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:13:31 +0100 Subject: [PATCH 23/31] Dart: Make browser open automatically --- containers/dart/.vscode/launch.json | 7 ++++++- containers/dart/README.md | 8 +++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/containers/dart/.vscode/launch.json b/containers/dart/.vscode/launch.json index ae1c3bd367..6079d56a07 100644 --- a/containers/dart/.vscode/launch.json +++ b/containers/dart/.vscode/launch.json @@ -9,7 +9,12 @@ "type": "dart", "request": "launch", "program": "bin/server.dart", - "cwd": "test-project" + "cwd": "test-project", + "serverReadyAction": { + "pattern": "Listening on localhost:([0-9]+)", + "uriFormat": "http://localhost:%s", + "action": "openExternally" + } } ] } \ No newline at end of file diff --git a/containers/dart/README.md b/containers/dart/README.md index 04e895c4e3..2726efa737 100644 --- a/containers/dart/README.md +++ b/containers/dart/README.md @@ -39,11 +39,9 @@ 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 F1, and select **Pub: Get Packages** to download packages -6. After packages have been downloaded, press F5 to start the project. -7. Once the project is running, press F1 and select **Remote-Containers: Forward Port from Container...** -8. Select port 8080 and click the "Open Browser" button in the notification that appears. -9. You should see "Hello remote world!" after the page loads. -10. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. +6. After packages have been downloaded, press F5 to start the project and launch the browser. +7. You should see "Hello remote world!" after the page loads. +8. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. ## License From bbaf4ec0ac7e3fd842d6e5e1ed7d3f7ee014fa45 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:31:40 +0100 Subject: [PATCH 24/31] Dart: Remove unnecessary extension --- containers/dart/.devcontainer/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/containers/dart/.devcontainer/devcontainer.json b/containers/dart/.devcontainer/devcontainer.json index a696913065..8ade05871a 100644 --- a/containers/dart/.devcontainer/devcontainer.json +++ b/containers/dart/.devcontainer/devcontainer.json @@ -2,8 +2,7 @@ "name": "Dart", "dockerFile": "Dockerfile", "extensions": [ - "dart-code.dart-code", - "msjsdiag.debugger-for-chrome" + "dart-code.dart-code" ], // Uncomment the next line if you want to publish any ports. From 4bf27bac7d5e2a9d55a3cebc2b5714f032d12cd1 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:34:06 +0100 Subject: [PATCH 25/31] Dart: Remove pedantic to simplify startup --- containers/dart/.devcontainer/devcontainer.json | 2 +- containers/dart/test-project/analysis_options.yaml | 6 ------ containers/dart/test-project/bin/server.dart | 4 +--- containers/dart/test-project/pubspec.yaml | 4 ---- 4 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 containers/dart/test-project/analysis_options.yaml diff --git a/containers/dart/.devcontainer/devcontainer.json b/containers/dart/.devcontainer/devcontainer.json index 8ade05871a..4996dd9b02 100644 --- a/containers/dart/.devcontainer/devcontainer.json +++ b/containers/dart/.devcontainer/devcontainer.json @@ -9,5 +9,5 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": "pub get" + // "postCreateCommand": "" } diff --git a/containers/dart/test-project/analysis_options.yaml b/containers/dart/test-project/analysis_options.yaml deleted file mode 100644 index d5105e6f22..0000000000 --- a/containers/dart/test-project/analysis_options.yaml +++ /dev/null @@ -1,6 +0,0 @@ -#------------------------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. -#------------------------------------------------------------------------------------------------------------- - -include: package:pedantic/analysis_options.yaml diff --git a/containers/dart/test-project/bin/server.dart b/containers/dart/test-project/bin/server.dart index ef53c3e74d..6c1c56f254 100644 --- a/containers/dart/test-project/bin/server.dart +++ b/containers/dart/test-project/bin/server.dart @@ -4,7 +4,6 @@ *-------------------------------------------------------------------------------------------------------------*/ import 'dart:io'; -import 'package:pedantic/pedantic.dart'; Future main() async { final server = await HttpServer.bind( @@ -19,7 +18,6 @@ Future main() async { print('Listening on localhost:${server.port}'); await for (HttpRequest request in server) { - request.response.write('Hello remote world!'); - unawaited(request.response.close()); + request.response..write('Hello remote world!')..close(); } } \ No newline at end of file diff --git a/containers/dart/test-project/pubspec.yaml b/containers/dart/test-project/pubspec.yaml index 5a265153dd..ba55c0b6d3 100644 --- a/containers/dart/test-project/pubspec.yaml +++ b/containers/dart/test-project/pubspec.yaml @@ -8,7 +8,3 @@ description: A test project environment: sdk: '>=2.1.0 <3.0.0' - -dev_dependencies: - pedantic: ^1.0.0 - \ No newline at end of file From bbf316667f8912bced2ed619dd0d2a860b1c46c1 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:35:16 +0100 Subject: [PATCH 26/31] Dart: Remove unnecessary instructions + format --- containers/dart/test-project/bin/server.dart | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/containers/dart/test-project/bin/server.dart b/containers/dart/test-project/bin/server.dart index 6c1c56f254..a6550a399e 100644 --- a/containers/dart/test-project/bin/server.dart +++ b/containers/dart/test-project/bin/server.dart @@ -10,14 +10,12 @@ Future main() async { InternetAddress.loopbackIPv4, 8080, ); - - 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) { - request.response..write('Hello remote world!')..close(); + request.response + ..write('Hello remote world!') + ..close(); } -} \ No newline at end of file +} From a9fad745f1231b8cbbc95761546f0a976448b214 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Fri, 17 May 2019 11:56:25 +0100 Subject: [PATCH 27/31] Remove unnecessary "pub get" step from readme --- containers/dart/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/containers/dart/README.md b/containers/dart/README.md index 2726efa737..fe6873c082 100644 --- a/containers/dart/README.md +++ b/containers/dart/README.md @@ -38,10 +38,9 @@ This definition includes some test code that will help you verify it is working 2. Clone this repository. 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 F1, and select **Pub: Get Packages** to download packages -6. After packages have been downloaded, press F5 to start the project and launch the browser. -7. You should see "Hello remote world!" after the page loads. -8. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. +5. After the folder has opened in the container, press F5 to start the project and launch the browser. +6. You should see "Hello remote world!" after the page loads. +7. From here, you can add breakpoints or edit the contents of the `test-project` folder to do further testing. ## License From f39a64fbfed73549c7da24a6a10e73ac3e08c973 Mon Sep 17 00:00:00 2001 From: Shikanime Deva Date: Fri, 17 May 2019 14:14:34 +0200 Subject: [PATCH 28/31] Fix ` key typo --- containers/debian-9-git/README.md | 2 +- containers/ubuntu-18.04-git/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/debian-9-git/README.md b/containers/debian-9-git/README.md index e5e64a9e9c..3a2e8ca4e2 100644 --- a/containers/debian-9-git/README.md +++ b/containers/debian-9-git/README.md @@ -38,7 +38,7 @@ This definition includes some test code that will help you verify it is working 2. Clone this repository. 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/debian-9-git` folder. -5. Press ctrl+shift+` and type the following command to verify installation: `apt-get update && apt-get install -y lsb-release && git --version && lsb_release -a` +5. Press ctrl+shift+\` and type the following command to verify installation: `apt-get update && apt-get install -y lsb-release && git --version && lsb_release -a` 6. After lsb_release installs, you should see the Git version and details about the version of Linux in the container. ## License diff --git a/containers/ubuntu-18.04-git/README.md b/containers/ubuntu-18.04-git/README.md index ee726d7ae9..9017fae4cf 100644 --- a/containers/ubuntu-18.04-git/README.md +++ b/containers/ubuntu-18.04-git/README.md @@ -38,7 +38,7 @@ This definition includes some test code that will help you verify it is working 2. Clone this repository. 3. Start VS Code, press F1, and select **Remote-Containers: Open Folder in Container...** 4. Select the `containers/ubuntu-18.04-git` folder. -5. Press ctrl+shift+` and type the following command to verify installation: `apt-get update && apt-get install -y lsb-release && git --version && lsb_release -a` +5. Press ctrl+shift+\` and type the following command to verify installation: `apt-get update && apt-get install -y lsb-release && git --version && lsb_release -a` 6. After lsb_release installs, you should see the Git version and details about the version of Linux in the container. ## License From 1ae6d61c8ccd15e62b2748d641e65528e52d095f Mon Sep 17 00:00:00 2001 From: cmendible Date: Fri, 17 May 2019 20:17:45 +0200 Subject: [PATCH 29/31] Added azure-ansible dev container --- .../azure-ansible/.devcontainer/Dockerfile | 55 +++++++++++++++++++ .../.devcontainer/devcontainer.json | 17 ++++++ containers/azure-ansible/.npmignore | 4 ++ containers/azure-ansible/README.md | 39 +++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 containers/azure-ansible/.devcontainer/Dockerfile create mode 100644 containers/azure-ansible/.devcontainer/devcontainer.json create mode 100644 containers/azure-ansible/.npmignore create mode 100644 containers/azure-ansible/README.md diff --git a/containers/azure-ansible/.devcontainer/Dockerfile b/containers/azure-ansible/.devcontainer/Dockerfile new file mode 100644 index 0000000000..46a47b6d19 --- /dev/null +++ b/containers/azure-ansible/.devcontainer/Dockerfile @@ -0,0 +1,55 @@ +#------------------------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. +#------------------------------------------------------------------------------------------------------------- + +# Pick any base image, but if you select node, skip installing node. 😊 +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, required tools +RUN apt-get install -y \ + git \ + curl \ + procps \ + unzip \ + apt-transport-https \ + ca-certificates \ + gnupg-agent \ + software-properties-common \ + 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 -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/*" 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 - 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 -sL https://packages.microsoft.com/keys/microsoft.asc | apt-key add - 2>/dev/null \ + && apt-get update \ + && apt-get install -y azure-cli + +# Install Ansible +RUN apt-get install -y libssl-dev libffi-dev python-dev python-pip \ + && pip install ansible[azure] + +# Clean up +RUN apt-get autoremove -y \ + && apt-get clean -y \ + && rm -rf /var/lib/apt/lists/* +ENV DEBIAN_FRONTEND=dialog \ No newline at end of file diff --git a/containers/azure-ansible/.devcontainer/devcontainer.json b/containers/azure-ansible/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..eadd40f21c --- /dev/null +++ b/containers/azure-ansible/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "Azure Terraform", + "dockerFile": "Dockerfile", + "extensions": [ + "vscoss.vscode-ansible", + "redhat.vscode-yaml", + "ms-vscode.azurecli" + ], + "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": "ansible --version" +} \ No newline at end of file diff --git a/containers/azure-ansible/.npmignore b/containers/azure-ansible/.npmignore new file mode 100644 index 0000000000..1d72d293eb --- /dev/null +++ b/containers/azure-ansible/.npmignore @@ -0,0 +1,4 @@ +README.md +test-project +.vscode +.npmignore diff --git a/containers/azure-ansible/README.md b/containers/azure-ansible/README.md new file mode 100644 index 0000000000..d4ce77e3bc --- /dev/null +++ b/containers/azure-ansible/README.md @@ -0,0 +1,39 @@ +# Azure Ansible + +## Summary + +*Get going quickly with Ansible in Azure. Includes Ansible, the Azure CLI, the Docker CLI (for testing locally), Node.js for Cloud Shell, and related extensions and dependencies.* + +| Metadata | Value | +|----------|-------| +| *Contributors* | The VS Code Team | +| *Definition type* | Dockerfile | +| *Languages, platforms* | Ansible | + +## Using this definition with an existing folder + +While technically optional, this definition includes the Ansible extension. You may need an Azure account for your operations. You can create a [free trial account here](https://azure.microsoft.com/en-us/free/) and find out more about using [Ansible with Azure here](https://docs.microsoft.com/en-us/azure/ansible/ansible-overview). If you plan to use the Azure Cloud Shell for all of your Ansible 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. + +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 Ansible 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-ansible/.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 + +Copyright (c) Microsoft Corporation. All rights reserved. + +Licensed under the MIT License. See [LICENSE](https://github.com/Microsoft/vscode-dev-containers/blob/master/LICENSE). From 8a517b91a361bccd4178764ba7ba2b9f62db8488 Mon Sep 17 00:00:00 2001 From: Carlos Mendible Date: Fri, 17 May 2019 22:34:21 +0200 Subject: [PATCH 30/31] Fixing name --- containers/azure-ansible/.devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/azure-ansible/.devcontainer/devcontainer.json b/containers/azure-ansible/.devcontainer/devcontainer.json index eadd40f21c..3e13fae45a 100644 --- a/containers/azure-ansible/.devcontainer/devcontainer.json +++ b/containers/azure-ansible/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Azure Terraform", + "name": "Azure Ansible", "dockerFile": "Dockerfile", "extensions": [ "vscoss.vscode-ansible", @@ -14,4 +14,4 @@ // "appPort": [], // Uncomment the next line to run commands after the container is created. // "postCreateCommand": "ansible --version" -} \ No newline at end of file +} From 58613fb46a4a77c10fa64571b6c47725eb08513d Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 17 May 2019 14:22:14 -0700 Subject: [PATCH 31/31] README and CONTRIBUTING clarifications --- CONTRIBUTING.md | 44 +++++++++++++++++++++++++++++++++----------- README.md | 6 +++--- 2 files changed, 36 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 40bf1f0a7a..390307d4f7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,11 +4,26 @@ This document outlines a number of ways you can get involved. ## Contributing Dev Container Definitions -Have a container set up you're proud of and would like to share? Want to see some changes made to an existing definition? We love contributions! Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. +This repository contains a set of **dev container definitions** to help get you up and running with a containerized environment. The definitions describe the appropriate container image, runtime arguments for starting the container, and VS Code extensions that should be installed. They are intended to be dropped into an existing project or folder rather than acting as sample projects. (See the [vscode-remote-try-*](https://github.com/search?q=org%3Amicrosoft+vscode-remote-try-&type=Repositories) repositories if you are looking for sample projects.) + +Have a container set up you're proud of and would like to share? Want to see some changes made to an existing definition? We love contributions! Read on to learn how. + +### Anatomy of a Dev Container Definition + +The contents of the folders in the `containers` directory ultimately populate the available definitions list shown in the **Remote-Containers: Create Container Configuration File...** command. To make this work, each folder consists of up to three things: + +1. **The container definition itself** - These are the files and folders that will be added to a user's existing project / folder if they select the definition. Typically these files are stored in a `.devcontainer` folder. +2. **Test assets** - While you are creating your definition, you may need to use a test project to make sure it works as expected. Contributing these files back will also help others that want to contribute to your definition in the future. These files are typically located in a `test-project` folder. +3. **A `.npmignore` file** - This tells VS Code which files in the folder should be ignored when a user selects it for their project / folder. The file typically lists test assets or folders. + +### Creating a new definition + +Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -If you want to create a new definition: + +To create a new definition: 1. Fork and clone this repository @@ -37,11 +52,9 @@ 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` folder 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. - VS Code respects [`.npmignore`](https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package) as a way to keep certain content out of projects when your definition is used. Add anything you don't want copied across into this file in [glob](https://facelessuser.github.io/wcmatch/glob/) form. - Finally, 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! +4. Update [`.npmignore`](https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package) if you've added new folders that should be excluded if used. Add anything you don't want copied in to a user's existing project / folder into this file in [glob](https://facelessuser.github.io/wcmatch/glob/) form. ### Developing and testing a definition @@ -49,17 +62,26 @@ VS Code Remote provides a straight forward development loop for creating and edi 1. Create a definition folder and open it in VS Code 2. Edit the contents of the definition -3. Run the **Remote: Reopen Folder in Container** command -4. If this fails, click "Open folder locally" in the dialog that appears and go to step 2 -6. If it opens successfully but you don't like the contents, edit the contents from within the container and run the **Remote: Rebuild Container** command to make changes. +3. Try it with `kbstyle(F1)` > **Remote-Containers: Reopen Folder in Container**. +4. On failure: + 1. `kbstyle(F1)` > **Remote-Containers: Reopen Folder Locally**, which will open a new local window. + 2. In this local window: Edit the contents of the `.devcontainer` folder as required. + 3. Try it again: Go back to the container window, `kbstyle(F1)` > **Developer: Reload Window**. + 4. Repeat as needed. +5. If the build was successful, but you want to make more changes: + 1. Edit the contents of the `.devcontainer` folder as required when connected to the container. + 2. `kbstyle(F1)` > **Remote-Containers: Rebuild Container**. + 3. On failure: Follow the same workflow above. + +Note that if you make major changes, Docker may occasionally not pick up your edits. If this happens, you can delete the existing container and image, open the folder locally, and go to step 2 above. Install the [Docker extension](https://marketplace.visualstudio.com/items?itemName=PeterJausovec.vscode-docker) locally (when not in a container) to make this easy -Note that if you make major changes, Docker may occasionally not pick up your edits. If this happens, you can delete the existing container and image, open the folder locally, and go to step 2 above. Install the [Docker extension](https://marketplace.visualstudio.com/items?itemName=PeterJausovec.vscode-docker) locally (when not in a container) to make this easy. While you can use Docker from inside a container by forwarding the Docker unix socket and installing the CLI in the container (see [Docker-in-Docker](containers/docker-in-docker)), you'll likely be removing the container you are actually using so this approach will not work well in this case. +After you get your container up and running, you can test it by adding test assets / projects into the definition folder and then adding their locations to the `.npmignore` file in [glob](https://facelessuser.github.io/wcmatch/glob/) form relative to the root of the folder. By convention, most definitions place test assets in a `test-project` folder and this path is referenced in the template `.npmignore` files. -Finally, after you get your container up and running, you can test it by adding test assets into the definition folder and add them to the `.devcontainer/ignore` file in [glob](https://facelessuser.github.io/wcmatch/glob/) form relative to the root of the folder. By convention, most definitions place test assets in a `test-project` folder and this path is referenced in the template `ignore` files. +Finally, 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! ### Speeding up container provisioning -While using a `Dockerfile` is a convienent way to get going with a new container definition, this method can slow down the process of creating the dev container since it requires the image be built by anyone using it. If your definition is stable, we strongly reccomend building and publishing your image to [DockerHub](https://hub.docker.com) or [Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/) instead. +While using a `Dockerfile` is a convenient way to get going with a new container definition, this method can slow down the process of creating the dev container since it requires the image be built by anyone using it. If your definition is stable, we strongly recommend building and publishing your image to [DockerHub](https://hub.docker.com) or [Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/) instead. Once you've published your container image, just update `devcontainer.json` to reference the image instead of the `Dockerfile`. See `container-templates/image` for an example. diff --git a/README.md b/README.md index 3bcc4b9d73..a256cf6cb5 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ -A **development container** is a running [Docker](https://www.docker.com) container with a well-defined tool/runtime stack and its prerequisites. The Remote - Containers extension in the [Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack allows you to open any folder inside (or mounted into) a dev container and take advantage of VS Code's full development feature set. +A **development container** is a running [Docker](https://www.docker.com) container with a well-defined tool/runtime stack and its prerequisites. The Remote - Containers extension in the [Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack allows you to open any folder mounted into or inside a dev container and take advantage of VS Code's full development feature set. -This repository contains a set of **dev container definitions** to help get you up and running with a containerized environment. The definitions describe the appropriate container image, runtime arguments for starting the container, and VS Code extensions that should be installed. They can also be used as examples for adapting your own configuration to different situations. +This repository contains a set of **dev container definitions** to help get you up and running with a containerized environment. The definitions describe the appropriate container image, runtime arguments for starting the container, and VS Code extensions that should be installed. They are intended to be dropped into an existing project or folder rather than acting as sample projects. (See the [vscode-remote-try-*](https://github.com/search?q=org%3Amicrosoft+vscode-remote-try-&type=Repositories) repositories if you are looking for sample projects.) ## Using a definition @@ -35,7 +35,7 @@ Your team now has a consistent environment and tool-chain and new contributors o ## Testing a definition -If you want to test a definition before choosing one: +Some dev container definitions include test assets. To test a definition: 1. If this is your first time creating a dev container, follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to configure your machine. 2. Browse the contents of the `containers` folder in this repository and pick one. Review the `README` to see if there are any manual setup steps before continuing.