Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dev container build failure on mount config #4290

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marrobi
Copy link
Member

@marrobi marrobi commented Jan 29, 2025

Fixes #4271

Add an initializeCommand to create necessary directories before the build.

  • Add initializeCommand in devcontainer/devcontainer.json to create $HOME/.azure and $HOME/.config directories if they do not exist.
  • Ensure the command runs before the container is created to prevent build failures due to missing directories.

For more details, open the Copilot Workspace session.

Fixes #4271

Add an `initializeCommand` to create necessary directories before the build.

* Add `initializeCommand` in `devcontainer/devcontainer.json` to create `$HOME/.azure` and `$HOME/.config` directories if they do not exist.
* Ensure the command runs before the container is created to prevent build failures due to missing directories.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4271?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit be5c66e.

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.

Dev Container build fails on mount config if folders don't exist on local filesystem.
1 participant