make prepare + make build does not build Kitodo
SvenMarcus opened this issue · 7 comments
When running make prepare
followed by make build
the build command fails because build-resources/kitodo.war
is missing.
I had to download the Kitodo release files manually to that folder in the Kitodo submodule in order to launch all the services.
This behavior is not documented in the Readme and there should probably just be a build rule to grab the necessary files from the Kitodo release pages if they aren't already there.
@SvenMarcus Did you get the fresh state from master
branch and update the submodule as well?
Yes, I actually completely removed the previous project and cloned fresh with submodules
Ok i will check this directly an give you feedback. The build-resources/kitodo.war
should not be necessary cause the builder of configured type "git" gets the current state from github and provide the build-resources
directly to the application stage.
Can you append --no-cache
to the docker-compose build
in make build
target and make build
again. Which Docker Compose Version do you use? Cause there can be some problems regarding variable substitution #39 (comment)_
We are on docker-compose
version 1.29.2, which should be the latest version before it became a plugin of Docker itself.
I recloned everything, deleted all the images and tried with --no-cache
, but Kitodo still doesn't build
Yes in my case i run the the Docker Compose
v2.10.2 with overwritten alias docker-compose
cause it is called docker compose
. We should clarify next week on the conference call which version we are working with, if there is any major difference.
I tested this too with new clone of repository and submodule checkout and it works. Are there some config differences to repository for example .env
adjustments etc. What branch do use?
The problem is due to the older Docker Compose version. We have decided to update the project to a version >= 2.10.