├── .devcontainer ├── devcontainer.json └── post-create.sh └── README.md /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | // Open port 7071 by default 3 | "appPort": 7071, 4 | 5 | // Install ESLint and Peacock extensions 6 | "extensions": [ 7 | "ms-azuretools.vscode-azurefunctions", 8 | "ms-azuretools.vscode-azurestorage", 9 | "ms-azuretools.vscode-cosmosdb", 10 | "ms-vscode.azure-account", 11 | "ms-python.python", 12 | "ms-vscode.csharp", 13 | "ms-vscode.powershell", 14 | "visualstudioexptteam.vscodeintellicode", 15 | "humao.rest-client", 16 | "coenraads.bracket-pair-colorizer", 17 | "sdras.night-owl" 18 | ], 19 | 20 | // Set theme 21 | "settings": { 22 | "workbench.colorTheme": "Night Owl" 23 | }, 24 | 25 | // Run Bash script in .devcontainer directory 26 | "postCreateCommand": "/bin/bash ./.devcontainer/post-create.sh > ~/post-create.log", 27 | 28 | // Use the dockerfile in .devcontainer directory 29 | "dockerfile": "Dockerfile" 30 | } -------------------------------------------------------------------------------- /.devcontainer/post-create.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Install Azure Functions Core Tools 4 | wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb 5 | sudo dpkg -i packages-microsoft-prod.deb 6 | sudo rm packages-microsoft-prod.deb 7 | 8 | sudo apt-get update 9 | sudo apt-get -y install \ 10 | azure-functions-core-tools -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeffhollan/azurefunctions-vsonline/81936660b37b36d4ebbccb1f7c48b272dcffef3d/README.md --------------------------------------------------------------------------------