Commit 7ecd87c
fix: standardize to vscode user across all configurations (#438)
* fix: standardize to vscode user across all configurations
- Update Dockerfile to set default USER to vscode before CMD
This ensures container starts as vscode user even without devcontainer.json
- Update Coder template.tf to use /home/vscode/ paths instead of /root/
- Environment variables: HISTFILE, GIT_CONFIG_GLOBAL
- All volume mounts: .claude, .gemini, .m2, .npm, .vscode-server, etc.
- Remove duplicate .claude.json file mount (now part of .claude/ directory)
This aligns all deployment methods (local Docker, devcontainer, Coder) to
consistently use the vscode non-root user for security and consistency.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: use bash shell for maven settings copy on windows
Force bash shell instead of PowerShell for the Maven settings copy step
to ensure cross-platform compatibility. PowerShell doesn't support
`mkdir -p` the same way as Unix shells.
Fixes failing Windows matrix test in CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent d2f125f commit 7ecd87c
3 files changed
Lines changed: 19 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
| 322 | + | |
329 | 323 | | |
330 | 324 | | |
331 | 325 | | |
332 | 326 | | |
333 | | - | |
| 327 | + | |
334 | 328 | | |
335 | 329 | | |
336 | 330 | | |
337 | 331 | | |
338 | | - | |
| 332 | + | |
339 | 333 | | |
340 | 334 | | |
341 | 335 | | |
342 | 336 | | |
343 | | - | |
| 337 | + | |
344 | 338 | | |
345 | 339 | | |
346 | 340 | | |
347 | 341 | | |
348 | | - | |
| 342 | + | |
349 | 343 | | |
350 | 344 | | |
351 | 345 | | |
352 | 346 | | |
353 | | - | |
| 347 | + | |
354 | 348 | | |
355 | 349 | | |
356 | 350 | | |
357 | 351 | | |
358 | | - | |
| 352 | + | |
359 | 353 | | |
360 | 354 | | |
361 | 355 | | |
362 | 356 | | |
363 | | - | |
| 357 | + | |
364 | 358 | | |
365 | 359 | | |
366 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
163 | 167 | | |
164 | 168 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments