Commit aac6630
fix(devcontainer): use Maven wrapper for dependency caching (#330)
* fix(devcontainer): add workspace mount to docker-compose
- add explicit workspace mount ../:/workspaces/SimpleAccounts-UAE
- use fixed workspace path instead of variable
- fixes 'lstat /workspaces/content: no such file or directory' error
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore(devcontainer): optimize prebuilt image performance
- Bake Playwright system dependencies into Dockerfile
- Combine apt-get layers for efficiency
- Pre-cache Maven and NPM dependencies during build
- Update post-create.sh to utilize pre-seeded caches
* fix(devcontainer): remove duplicate instructions and include .npmrc
* fix(devcontainer): use Maven wrapper for dependency caching
The base image mcr.microsoft.com/devcontainers/java:21-bookworm does not
have Maven pre-installed, causing the prebuild to fail with exit code 127
(mvn: command not found).
Changes:
- Use Maven wrapper (./mvnw) instead of mvn command
- Copy mvnw and .mvn/ directory for wrapper to work
- Use dependency:resolve instead of go-offline to avoid HTTP repo blocking
- Add graceful fallbacks (|| true) for partial dependency caching
- Add npm install fallback when lockfiles are out of sync
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent f372215 commit aac6630
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | | - | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
105 | | - | |
| 110 | + | |
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
| |||
0 commit comments