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/alpine
3
- {
4
- "name" : " JOSS-Pandoc" ,
5
- // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
-
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/alpine
3
+ {
4
+ "name" : " JOSS-Pandoc" ,
5
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
7
6
"build" : {
8
7
// Path is relative to the devcontainer.json file.
9
8
"dockerfile" : " ../inara/Dockerfile"
10
- }
11
-
12
-
13
- // Features to add to the dev container. More info: https://containers.dev/features.
14
- // "features": {},
15
-
16
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
17
- // "forwardPorts": [],
9
+ },
10
+ "mounts" : [
11
+ " type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly"
12
+ ],
18
13
19
- // Use 'postCreateCommand' to run commands after the container is created.
20
- // "postCreateCommand": "uname -a",
21
-
22
- // Configure tool-specific properties.
23
- // "customizations": {},
24
-
25
- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26
- // "remoteUser": "root"
27
- }
14
+ // Features to add to the dev container. More info: https://containers.dev/features.
15
+ "features" : {
16
+ "ghcr.io/cirolosapio/devcontainers-features/alpine-git:0" : " 0.1.0" ,
17
+ "ghcr.io/cirolosapio/devcontainers-features/alpine-openssh:0" : " 0.1.0"
18
+ }
19
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
20
+ // "forwardPorts": [],
21
+ // Use 'postCreateCommand' to run commands after the container is created.
22
+ // "postCreateCommand": "uname -a",
23
+ // Configure tool-specific properties.
24
+ // "customizations": {},
25
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26
+ // "remoteUser": "root"
27
+ }
0 commit comments