analyze-containers wrapper scripts
The analyze-containers wrapper scripts are a version of the analyze-containers commands that can be used from outside of the VS Code dev container or the analyze-containers installation directory.
Installing the wrapper scripts
To install the wrapper scripts you must:
- Run the
bootstrap
command to install analyze-containers - Set the
ANALYZE_CONTAINERS_ROOT_DIR
environment variable to the location where analyze-containers is installed - Run the
install-wrappers
command
The install-wrappers
command installs the wrapper scripts in the location that you provide for the -p
argument.
In your terminal (WSL on Windows), run the following commands to set the ANALYZE_CONTAINERS_ROOT_DIR
to the location of your analyze-containers installation and install the wrapper scripts to the specified directory.
For example:
cd /home/<user-name>/analyze-containers/scripts
export ANALYZE_CONTAINERS_ROOT_DIR="/home/<user-name>/analyze-containers"
./install-wrappers -p /home/<user-name>/wrappers
Using the wrapper scripts
To use the wrapper scripts, call the scripts from where you installed them.
For example, to deploy a config named config-development
run:
./home/<user-name>/wrappers/scripts/deploy.sh -c config-development