Skip to content

Commit ca06d28

Browse files
authored
Add devcontainer.json for development (#7)
2 parents 5b40c45 + 9f1e790 commit ca06d28

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
3+
{
4+
"name": "Debian",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7+
"features": {
8+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
9+
"ghcr.io/devcontainers/features/node:1": {}
10+
},
11+
12+
// Features to add to the dev container. More info: https://containers.dev/features.
13+
// "features": {},
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
// "forwardPorts": [],
17+
18+
// Configure tool-specific properties.
19+
// "customizations": {},
20+
21+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22+
// "remoteUser": "root"
23+
24+
"postCreateCommand": "npm install -g @devcontainers/cli"
25+
}

.github/workflows/test-feature.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ on:
88
- README.md
99
- .github/**
1010
- "!.github/workflows/test-feature.yml"
11+
- .devcontainer/**
1112
pull_request:
1213
paths-ignore:
1314
- .gitignore
1415
- LICENSE
1516
- README.md
1617
- .github/**
1718
- "!.github/workflows/test-feature.yml"
19+
- .devcontainer/**
1820
workflow_call:
1921

2022
concurrency:

0 commit comments

Comments
 (0)