Skip to content

Commit 0a2a18b

Browse files
committed
Fix postCreateCommand failing on yarn GPG error
apt-get update returns non-zero due to broken yarn repo key, use || true to continue with kubectx installation
1 parent 2f2e182 commit 0a2a18b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ghcr.io/stuartleeks/dev-container-features/azure-cli-persistence:0": {},
1010
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
1111
},
12-
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y kubectx",
12+
"postCreateCommand": "sudo apt-get update || true && sudo apt-get install -y kubectx",
1313
"customizations": {
1414
"vscode": {
1515
"extensions": [

0 commit comments

Comments
 (0)