Skip to content

Commit a24779b

Browse files
committed
feat: devcontainer post-create
1 parent ae25bff commit a24779b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"jock.svg"
1515
]
1616
}
17-
}
17+
},
1818

1919
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2020
// "forwardPorts": [],
2121

2222
// Use 'postCreateCommand' to run commands after the container is created.
23-
// "postCreateCommand": "uname -a",
23+
"postCreateCommand": ".devcontainer/post-create.sh"
2424

2525
// Configure tool-specific properties.
2626
// "customizations": {},

.devcontainer/post-create.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
pipx install keymap-drawer

0 commit comments

Comments
 (0)