Added support for Catserver type

This commit is contained in:
Geoff Bourne
2020-06-20 15:28:30 -05:00
parent 7d97fdcbec
commit 8f82ff9b1d
5 changed files with 47 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ docker build -t mc-dev .
Using the baseline image, an interactive container can be started to iteratively run the scripts to be developed. By attaching the current workspace directory, you can use the local editor of your choice to iteratively modify scripts while using the container to run them.
```shell script
docker run -it --rm -v ${PWD}:/scripts -e SCRIPTS=/scripts/ --entrypoint bash mc-dev
docker run -it --rm -v ${PWD}:/scripts -e SCRIPTS=/scripts/ --entrypoint bash mc-dev
```
From within the container you can run individual scripts via the attached `/scripts/` path; however, be sure to set any environment variables expected by the scripts by either `export`ing them manually: