Open jo2 opened 6 years ago
Hi @jo2,
can you try out the other methods, such as from string and from classpath?
With imageFromString I didn´t know what I should write in the string. Is it the content of the Dockerfile? The documentation only said '.withFileFromString("folder/someFile.txt", "hello")'. Also the declaration of the method doesn´t say anything 'withFileFromString(String path, String content)'.
imageFromClasspath isn´t explained in any better way.
I am currently using withDockerfile
method.
I'm writing tests for my room-service and i need the image-service because the room-service has dependencies on the image-service. this is my file tree:
In my ApplicationTest in room-service I try to create a generic container from the dockerfile in /image-service/Dockerfile:
I couldn't find any use cases like this in the documentation. Am I using the wrong method? Are any of the paths I used wrong?