queue-management
queue-management copied to clipboard
Update dev container configuration
Resolves SBCQ-245 and fixes issues creating local dev containers.
- Remove deprecated keys from
devcontainer.json - Remove deprecated
versionkey fromdocker-compose.yml - Fix
postCreateCommand.shto only log output from stderr - Do not run dependency install tasks in parallel
- Update
package.jsonon bothfrontendandappointment-frontendto runnpm-force-resolutionswithout input - Add local config files to
postCreateCommand.sh - Add dev Keycloak configuration
- Update documentation
The latest commits update postCreateCommand.sh to check whether a user IDIR already exists when bootstrapping the local database. I've also bumped the base container version to 3.8-bullseye, which adds arm64 support and removed the default JRE install in favour of the JRE bundled with the SonarLint extension (the default JRE was < v17, which doesn't work with the extension anyway).
Part of my rationale for this PR is to allow us to have a reproducible development environment, so if we did run into issues (for example, with permissions), we could simply destroy the containers used and rebuild them.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code