microservices-patterns / ftgo-application

Example code for the book Microservice patterns
Other
3.35k stars 1.29k forks source link

Issue building MySQL #160

Closed s-stefanov closed 1 year ago

s-stefanov commented 1 year ago

There are problems with building MySQL containers right now.

Missing files in the Dockerfile from the common repository, more specific to ADD https://raw.githubusercontent.com/eventuate-tram/eventuate-tram-sagas/master/mysql/tram-saga-schema.sql /docker-entrypoint-initdb.d/template3

I'm unsure which version I should revert to follow the book and also have support for arm64 images. I will be grateful if you can support me here. Saw you made changes from other PRs and Issues for the new image types.

cer commented 1 year ago

Sorry about this problem. The solution is to change those URLs for the sql scripts: instead of master use the version specified in Gradle.properties. Try hardwiring the version - it would be better to use Dockerfile ARG, however

s-stefanov commented 1 year ago

Yes, working correctly now. Initially, this was my idea also to not use master but didn't notice the tram SQL was in a different repository, sorry.

Closing the issue, thank you for the quick response!