Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include devcontainer.json file in sample apps to open in codespaces #1223

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .devcontainer/app-hello-world-csharp/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "app-hello-world-csharp",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "csharp",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/app-hello-world/csharp/Microsoft.Teams.Samples.HelloWorld.Web"
}
7 changes: 7 additions & 0 deletions .devcontainer/bot-conversation-python/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "bot-conversation-python",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "Python",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/bot-conversation/python"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "bot-formatting-cards-container-nodejs",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "nodejs",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/bot-formatting-cards/nodejs"
}
7 changes: 7 additions & 0 deletions .devcontainer/msgext-link-unfurling-python/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "msgext-link-unfurling-python",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "Python",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/msgext-link-unfurling/python"
}
7 changes: 7 additions & 0 deletions .devcontainer/tab-adaptive-cards-nodejs/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "tab-adaptive-cards-nodejs",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "nodejs",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/tab-adaptive-cards/nodejs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "tab-personal-sso-quickstart-nodejs",
"dockerComposeFile": ["../../docker-compose.yml"],
"service": "nodejs",
"shutdownAction": "none",
"workspaceFolder": "/workspace/samples/tab-personal-sso-quickstart/js"
}
29 changes: 29 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'
services:
Python:
image: mcr.microsoft.com/devcontainers/python:1-3.8-bookworm
volumes:
# Mount the root folder that contains .git
- .:/workspace:cached
command: sleep infinity
links:
- nodejs
# ...

nodejs:
image: mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm
volumes:
# Mount the root folder that contains .git
- .:/workspace:cached
command: sleep infinity
links:
- csharp
# ...

csharp:
image: mcr.microsoft.com/devcontainers/dotnet:0-6.0
volumes:
# Mount the root folder that contains .git
- .:/workspace:cached
command: sleep infinity
# ...