JiriOndrusek commented on pull request #3370:
URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1016158694


   @zbendhiba your suggestion sounds good. I used this way and didn't think 
that it is against best practices in native. If it is possible to put a jar 
inside docker image, it would be solution.
   Current fix uploads a jar into docker container
   ```
     container = new FixedHostPortGenericContainer("az82/docker-derby")
                       .withFixedExposedPort(SqlHelper.getDerbyDockerPort(), 
1527)
                       .withCopyFileToContainer(
                               MountableFile.forClasspathResource("derby/" + 
jars[0].getName()),
                               "/dbs/storedProcedure.jar")
                       .waitingFor(Wait.forListeningPort());
   ```
   
   Do I understand correctly, that having jar with stored procedure among 
dependencies cause quarkus in native to inspect and process it, 
   Maybe I can use a current solution, where the jar won't be in dependency, 
but will be copied (or created) in this module via maven plugin. Would it help?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to