clients/.devcontainer/common/docker-compose.yml
Conner Turnbull c017802c92
Added devcontainer setup (devcontainer.json, docker-compose.yml, postCreateCommand.sh) (#18541)
* Added devcontainer setup (devcontainer.json, docker-compose.yml, postCreateCommand.sh)

* Restructure devcontainers with browser-gui, native-gui variants and shared config

* Rename postCreateCommand.sh to kebab-case

* Updated dev container name to appear under the `bitwarden_common` docker compose stack

* Exclude .devcontainer from Checkmarx KICS scans

* Add sca and containers filters for Checkmarx

* Remove sca and containers filters from Checkmarx config

* Revert "Remove sca and containers filters from Checkmarx config"

This reverts commit 4eb4c0c124.

* Mask node_modules and Rust target from host sync in devcontainer

* Fix ownership of anonymous volume mount points in devcontainer

* Build desktop native module in devcontainer post-create script

* Fix Checkmarx config filters to use glob pattern for .devcontainer

* Revert "Fix Checkmarx config filters to use glob pattern for .devcontainer"

This reverts commit ab1c70fcf6.

---------

Co-authored-by: Amy Galles <9685081+AmyLGalles@users.noreply.github.com>
2026-04-08 15:58:05 -04:00

12 lines
297 B
YAML

name: bitwarden_common
services:
bitwarden_clients:
image: mcr.microsoft.com/devcontainers/typescript-node:22
volumes:
- ../../:/workspace:cached
- /workspace/node_modules
- /workspace/apps/desktop/desktop_native/target
shm_size: "1gb"
command: sleep infinity