Build Docker Images

(Cédric Krier) #21

There is no guarantee that python package will work with a different Python version, especially those with C extension.

Indeed strech-slim may be a good idea.

(Cédric Krier) #22

Here is the implementation:

(Gonzalo González Domínguez) #23

After 1.10 --link is deprecated [1]. Now is recomended run containers using own defined networks [2] [3].


(Cédric Krier) #24

I think we are in the exception to still use --link:
Indeed it is still the example provided by the postgres image and describing in example how to setup an overlay network seems out of the scope.
Any way, I do not see any problem in using an overlay network with the current image as far as the database hostname is postgres (and even it is possible to setup your own TRYTOND_DATABASE_URI).

(Cédric Krier) #25