You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
Expected: home page of skosmos
Instead I get Error: Dependencies managed by Composer missing. Please run "php composer.phar install".
Error goes away if I manually (by running bash in the skosmos container) install composer and run the command above.
What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)
Chrome
The text was updated successfully, but these errors were encountered:
Ah, now I think I understand what's wrong here. We changed the way the Docker image is built several times during the development of the new Dockerfile, and the current version copies all files from the Skosmos directory inside the image. This means that Composer must be run outside the container, before building the image. That's not ideal - I think Composer should be run within the container as it's being built, and probably the vendor directory etc. should be excluded while copying so that Composer has a clean starting point. @kinow do you have any ideas?
Ah, your analysis is correct @osma ! And good catch @jrvosse , we missed that part in the review as we always had the composer dependencies installed, sorry! I think at one point we had composer running, but as @osma said changes during development removed it.
Let me take a look at #1157, I think that's safe to merge, but will confirm it won't change host files (it shouldn't I think, the composer dependencies should be installed in the container only).
At which URL did you encounter the problem?
root url
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: home page of skosmos
Instead I get
Error: Dependencies managed by Composer missing. Please run "php composer.phar install".
Error goes away if I manually (by running bash in the skosmos container) install composer and run the command above.
What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)
Chrome
The text was updated successfully, but these errors were encountered: