At which point in the devcontainer's lifecycle is the dotfiles repository cloned? #285
-
When creating a development container for a repository to import our configurations into the new environment, at which point in the devcontainer's lifecycle does the dotfiles repository get cloned and the install.sh file executed? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hacer efectiva la accion |
Beta Was this translation helpful? Give feedback.
-
Hi 👋 The dotfiles are cloned and installed after all of the "creation" phase lifecycle hooks, but before the See https://github.com/devcontainers/cli/blob/main/src/spec-common/injectHeadless.ts#L375 for reference. |
Beta Was this translation helpful? Give feedback.
Hi 👋
The dotfiles are cloned and installed after all of the "creation" phase lifecycle hooks, but before the
postStartCommand
andpostAttachCommand
.See https://github.com/devcontainers/cli/blob/main/src/spec-common/injectHeadless.ts#L375 for reference.