Skip to content

Instantly share code, notes, and snippets.

@TsuyoshiUshio
Last active June 28, 2020 03:27
Show Gist options
  • Save TsuyoshiUshio/22e10b12410ebefdb5e1bd218c0bb21a to your computer and use it in GitHub Desktop.
Save TsuyoshiUshio/22e10b12410ebefdb5e1bd218c0bb21a to your computer and use it in GitHub Desktop.
EnvironmentVariables for DevContainer
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.106.0/containers/azure-functions-node-10
{
"name": "Azure Functions & Python 3 & Confluent Kafka",
"dockerComposeFile": "docker-compose.yml",
"service": "myfunction",
"workspaceFolder": "/workspace",
"remoteEnv": {"LD_LIBRARY_PATH": "/workspace/bin/runtimes/linux-x64/native"},
"containerEnv": {"LD_LIBRARY_PATH": "/workspace/bin/runtimes/linux-x64/native"},
"forwardPorts": [ 7071, 9021 ],
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-azuretools.vscode-azurefunctions",
"ms-python.python",
"dbaeumer.vscode-eslint"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment