Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make prepare + make build does not build Kitodo #43

Closed
SvenMarcus opened this issue Oct 14, 2022 · 7 comments
Closed

make prepare + make build does not build Kitodo #43

SvenMarcus opened this issue Oct 14, 2022 · 7 comments

Comments

@SvenMarcus
Copy link
Collaborator

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.

@markusweigelt
Copy link
Collaborator

markusweigelt commented Oct 14, 2022

@SvenMarcus Did you get the fresh state from master branch and update the submodule as well?

@SvenMarcus
Copy link
Collaborator Author

Yes, I actually completely removed the previous project and cloned fresh with submodules

@markusweigelt
Copy link
Collaborator

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.

@markusweigelt
Copy link
Collaborator

markusweigelt commented Oct 14, 2022

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)_

@SvenMarcus
Copy link
Collaborator Author

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

@markusweigelt
Copy link
Collaborator

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?

@markusweigelt
Copy link
Collaborator

The problem is due to the older Docker Compose version. We have decided to update the project to a version >= 2.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants