Skip to content

Commit e2115dc

Browse files
committed
try universal image with no version
1 parent 08c6aaa commit e2115dc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
33
{
44
"name": "Default Linux Universal",
5-
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
5+
"image": "mcr.microsoft.com/devcontainers/universal",
66
"customizations": {
77
"vscode": {
88
"extensions": ["esbenp.prettier-vscode", "unifiedjs.vscode-mdx"]
99
}
10-
}
10+
},
11+
"onCreateCommand": "bash .devcontainer/df.sh onCreate",
12+
"updateContentCommand": "bash .devcontainer/df.sh updateContent",
13+
"postCreateCommand": "bash .devcontainer/df.sh postCreate"
1114
}

.devcontainer/df.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -eux
3+
4+
echo "$@" >> df.log
5+
df -h / >> df.log

0 commit comments

Comments
 (0)