From 0633a2b98aafe8fd622d599483054e70978b3415 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 10 May 2019 07:35:56 -0700 Subject: [PATCH 1/2] 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 2/2] 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": [