Hi Guangrong,

It depends on what your MySQL dependency looks like.

If your dependency is to store data in a running MySQL instance, it is 
recommended that you run a separate MySQL container independently from the 
container for your own microservice, and configure your microservice to 
communicate with that MySQL instance.  For this, you can use the docker 
container provided directly by MySQL: 
https://hub.docker.com/r/mysql/mysql-server/.  You should not run a MySQL 
instance directly within your own microservice docker container.

If you have dependencies on MySQL libraries in your code, then it’s recommended 
that you set that up manually in your Dockerfile configuration scripts.

Thanks,
Gary



From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Sunday, August 13, 2017 5:51 PM
To: [email protected]
Subject: [onap-discuss] 答复: [integration][holmes] How to Get Dependencies like 
MySQL during the Building of the Dockers?


Hi,



I have not heard any response so far. Could anybody please help to answer the 
question or give me any suggestion?



Thanks.



Guangrong








原始邮件
发件人:付光荣10144542
收件人: <[email protected]<mailto:[email protected]>>;
日 期 :2017年08月10日 22:09
主 题 :[integration][holmes] How to Get Dependencies like MySQL during the 
Building of the Dockers?



Hi all,



While making dockers, we want to integrate MySQL as a part of our components. 
Do we have to pull it directly from the internet or is it stored in some place 
of ONAP so that we could fetch it from within?



Thanks.



Guangrong












_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to