Fix devcontainer build failure (#12837)

* add post-installation script

* set zsh as default terminal and make post-install execution on postcreate

* rename file

* rename script

* Create devcontainers_ci.yml

* Update devcontainer.json

* Update devcontainers_ci.yml

Never push image built here. It's for build testing purpose only.

* postCreateCommand update to reflect that the shell script has been renamed.

* update devcontainer readme file

* trigger workflow only on devcontainer/** changes

* prettier refactor
This commit is contained in:
Bertrand Awenze
2025-07-09 08:25:18 -04:00
committed by GitHub
parent 5c05335b27
commit ed7c9b51f9
5 changed files with 97 additions and 6 deletions

19
.github/workflows/devcontainer_ci.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Test DevContainer Build
on:
push:
paths:
- ".devcontainer/**"
pull_request:
paths:
- ".devcontainer/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: devcontainers/ci@v0.3
with:
push: never
runCmd: "true"