Skip to content

Fix dotfiles install (#45) and upgrade to PHP 8.4#48

Open
kurowski wants to merge 2 commits into
mainfrom
fix-dotfiles-cwd-and-php-8.4
Open

Fix dotfiles install (#45) and upgrade to PHP 8.4#48
kurowski wants to merge 2 commits into
mainfrom
fix-dotfiles-cwd-and-php-8.4

Conversation

@kurowski
Copy link
Copy Markdown
Member

Summary

Test plan

  • dck && dce with --dotfiles-repository set against a fresh container — dotfiles clone succeeds, no exit 128.
  • ~/.devcontainer/.dotfilesMarker and ~/dotfiles/ both populated after first devcontainer up.
  • Container builds successfully on PHP 8.4 and Drupal app comes up (composer install, drush deploy, apache).
  • Spot-check that PHP extensions (mysqli, pdo_mysql, intl, gd, redis, zip) still load on 8.4.

🤖 Generated with Claude Code

kurowski and others added 2 commits May 22, 2026 11:45
Anchor lifecycle scripts to $WORKSPACE_FOLDER at entry and exit so the
shellServer's cwd stays valid for subsequent steps — including the
devcontainer CLI's own dotfiles install, which previously failed with
"Unable to read current working directory" after onCreate work
invalidated the inode the shellServer had cd'd into.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dotfiles install fails with "Unable to read current working directory" after lifecycle scripts run

1 participant