mustafakemalgilor/hadouken

Add support to run hadouken shell script commands in development environment container

mustafakemalgilor opened this issue · 0 comments

Currently, ./hadouken script is running in the environment which it is being invoked in. We should add an argument (--exec-in-devenv), which allows running the specified command in the development environment container.

When this new argument is supplied to the hadouken script;

  • development environment container defined in .devcontainer/docker-compose.yml should run
  • project root should be mounted into development environment container in 'bind' mode
  • ./hadouken script should be invoked in development environment project root with specified arguments (except --exec-in-devenv)

Script should be aware of the container instances had already been spawned previously by Visual Studio Code, and should try to use it first when available (instead of creating a new container from scratch).