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

postCreateCommand does not execute #80

Closed
ericpaulsen opened this issue Jan 12, 2024 · 2 comments
Closed

postCreateCommand does not execute #80

ericpaulsen opened this issue Jan 12, 2024 · 2 comments

Comments

@ericpaulsen
Copy link
Member

Dev containers support a postCreateCommand parameter, to execute commands once the devcontainer is rebuilt:

"postCreateCommand": "bash scripts/install-dependencies.sh"

this is not run when using envbuilder:latest

@aaronlehmann
Copy link
Collaborator

postCreateCommand is supported by envbuilder. This test verifies that it executes. Do you have a devcontainer.json that reproduces the problem?

@ericpaulsen
Copy link
Member Author

@aaronlehmann thank you - I ran my devcontainer again and validated postCreateCommand executed correctly. I must've gotten it mixed up with another parameter. closing out.

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

No branches or pull requests

2 participants