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

Commit

Permalink
Merge pull request #41 from microsoft/clantz/ptrace
Browse files Browse the repository at this point in the history
Switch postCreateCommand to strings
  • Loading branch information
Chuxel committed May 13, 2019
2 parents 30f79f4 + 3f29a7f commit af9ed33
Show file tree
Hide file tree
Showing 44 changed files with 56 additions and 54 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
2 changes: 1 addition & 1 deletion containers/azure-cli/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
// "appPort": [],

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

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

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

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

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

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["npm install"]
// "postCreateCommand": "npm install"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion containers/azure-terraform/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["terraform --version"]
// "postCreateCommand": "terraform --version"
}
2 changes: 1 addition & 1 deletion containers/cpp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["gcc -v"]
// "postCreateCommand": "gcc -v"
}
2 changes: 1 addition & 1 deletion containers/dart/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["pub get"]
// "postCreateCommand": "pub get"
}
4 changes: 2 additions & 2 deletions containers/debian-9-git/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

}
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
// "extensions": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["uname -a"]
// "postCreateCommand": "uname -a"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"shutdownAction": "stopCompose",

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/dotnetcore-2.1/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/go/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/java-11/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/java-12/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/java-8/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"shutdownAction": "stopCompose",

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/kubernetes-helm/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
// "appPort": [],

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

}
20 changes: 10 additions & 10 deletions containers/markdown/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"

}
2 changes: 1 addition & 1 deletion containers/php-7/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/plantuml/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
// "appPort": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": ["java -version"]
// "postCreateCommand": "java -version"
}
2 changes: 1 addition & 1 deletion containers/powershell/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
2 changes: 1 addition & 1 deletion containers/python-2/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
2 changes: 1 addition & 1 deletion containers/python-3/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
2 changes: 1 addition & 1 deletion containers/ruby-2/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/rust/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
// "appPort": [],

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

}
2 changes: 1 addition & 1 deletion containers/swift-4/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
// "appPort": [],

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

}
4 changes: 2 additions & 2 deletions containers/ubuntu-18.04-git/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

}

0 comments on commit af9ed33

Please sign in to comment.