We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c6aaa commit e2115dcCopy full SHA for e2115dc
.devcontainer/devcontainer.json
@@ -2,10 +2,13 @@
2
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
3
{
4
"name": "Default Linux Universal",
5
- "image": "mcr.microsoft.com/devcontainers/universal:2-linux",
+ "image": "mcr.microsoft.com/devcontainers/universal",
6
"customizations": {
7
"vscode": {
8
"extensions": ["esbenp.prettier-vscode", "unifiedjs.vscode-mdx"]
9
}
10
- }
+ },
11
+ "onCreateCommand": "bash .devcontainer/df.sh onCreate",
12
+ "updateContentCommand": "bash .devcontainer/df.sh updateContent",
13
+ "postCreateCommand": "bash .devcontainer/df.sh postCreate"
14
.devcontainer/df.sh
@@ -0,0 +1,5 @@
1
+#!/bin/bash
+set -eux
+
+echo "$@" >> df.log
+df -h / >> df.log
0 commit comments