Starting the script
Being on Windows, I had to modify the docker command in generateDimensions.bash to:
docker run -e IS_IMPLEMENTED_WHEN_EVIDENCE=true -ti --volume "/d/Users/vbakke/GIT/DSOMM/DevSecOps-MaturityModel-data:/app" wurstbrot/dsomm-yaml-generation bash -c "cd /app/ && php yaml-generation/generateDimensions.php"
Error message
I get the following error:
Warning: require(/app/yaml-generation/vendor/autoload.php): Failed to open stream: No such file or directory in /app/yaml-generation/bib.php on line 12
Fatal error: Uncaught Error: Failed opening required '/app/yaml-generation/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/yaml-generation/bib.php:12
Stack trace:
#0 /app/yaml-generation/functions.php(15): include_once()
#1 /app/yaml-generation/generateDimensions.php(3): require_once('/app/yaml-gener...')
#2 {main}
thrown in /app/yaml-generation/bib.php on line 12
Potential cause?
Inspecting the files of the docker image /app/yaml-generation does not contain any vendor folder.
However, /var/www/html/yaml-generation does.
I see that the Docker file executes RUN cd /var/www/html/yaml-generation && composer install .... Could this be the cause?
What happens if you start from scratch, @wurstbrot?
Starting the script
Being on Windows, I had to modify the docker command in
generateDimensions.bashto:docker run -e IS_IMPLEMENTED_WHEN_EVIDENCE=true -ti --volume "/d/Users/vbakke/GIT/DSOMM/DevSecOps-MaturityModel-data:/app" wurstbrot/dsomm-yaml-generation bash -c "cd /app/ && php yaml-generation/generateDimensions.php"Error message
I get the following error:
Potential cause?
Inspecting the files of the docker image
/app/yaml-generationdoes not contain anyvendorfolder.However,
/var/www/html/yaml-generationdoes.I see that the Docker file executes
RUN cd /var/www/html/yaml-generation && composer install .... Could this be the cause?What happens if you start from scratch, @wurstbrot?