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
Hi, after updating Spring Boot to version 2.3.0 in one of my existing project with this plugin i received interesting behaviour that depends on OS (in Linux it's fails generateJooqClasses task, but in MacOS X it gets stuck indefinitely).
After some investigation i found that after update of Spring Boot plugin (or docker-java as part of plugin) sends different (and obviously incorrect) payload to docker daemon when tries to create container, below example of request with payload:
After analysing build environment dependency tree i found that new version of Spring Boot override some dependencies versions (jackson related packages was updated to 2.11.x version instead of 2.10.x).
I think that problem doesn't have elegant solution here at this time (initial problem may contains in docker-java and can't be fixed here without shadowing of broken dependency), but this issue should be actual when docker-java release fix and here it should be updated.
The text was updated successfully, but these errors were encountered:
Hello @agpopikov 🙂
Thank's for the investigation 👍 I did a little more digging into it seems like it's due to update of the testcontainers form org.testcontainers:testcontainers:1.13.0 to org.testcontainers:testcontainers:1.14.1. When I forced previous version for the build script it works just fine. Looks like test containers maintain theirs own version of docker-java within theirs codebase and most probably it won in the classpath war for some classes that are not compatible with external docker-java. Actually we use only one class from the test containers AuthDelegatingDockerClientConfig, I'll have to do more digging to see maybe we can get rid of the test containers dependency at all. I'll let you know once I'll sort this out 🙂 For now as a workaround you can try forcing old version of test containers
Hi, after updating Spring Boot to version 2.3.0 in one of my existing project with this plugin i received interesting behaviour that depends on OS (in Linux it's fails
generateJooqClasses
task, but in MacOS X it gets stuck indefinitely).To demonstrate this issue i created repository - https://github.com/agpopikov/jooq-plugin-bug-example. This repo contains example that fails when run
./gradlew clean generateJooqClasses
build command.After some investigation i found that after update of Spring Boot plugin (or
docker-java
as part of plugin) sends different (and obviously incorrect) payload to docker daemon when tries to create container, below example of request with payload:And here for example of request and payload from working version of setup:
After analysing build environment dependency tree i found that new version of Spring Boot override some dependencies versions (jackson related packages was updated to 2.11.x version instead of 2.10.x).
I think that problem doesn't have elegant solution here at this time (initial problem may contains in docker-java and can't be fixed here without shadowing of broken dependency), but this issue should be actual when docker-java release fix and here it should be updated.
The text was updated successfully, but these errors were encountered: