GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Building a minimal FairMQ service in Docker with static executables
Building a minimal FairMQ service in Docker with static executables [message #22950] Fri, 14 September 2018 13:07 Go to previous message
Michael Papenbrock is currently offline  Michael Papenbrock
Messages: 24
Registered: September 2014
continuous participant
From: *physics.uu.se
Hello!

I'm not sure if this fits here perfectly since I'm actually referring to the standalone version of FairMQ. Anyway, I'll get to the point.

I'm currently implementing a set of samplers/processors/etc. with the standalone version of FairMQ. So far, implementation-wise that seems to be working fine. However, I would like to deploy the corresponding executables with Docker and run them each in their own container. Here, the size of the resulting image/container matters, both in terms of security and performance (at least in the context of a larger cluster). Hence, a common practice is to compile services into static executables instead of dynamically linking them, so one doesn't have to carry over the dependencies. When I tried this, I realised that both FairMQ and its dependency FairLogger currently only generated dynamic libraries and as far as I know one cannot generate a static executable from dynamic libraries (please correct me if this is wrong).

So, my question is: Is anyone aware of a way to create a FairMQ service as a static executable?

Thanks in advance!

Best regards,
Michael
 
Read Message
Read Message
Read Message
Previous Topic: Logger.h ?
Next Topic: CMake problem compiling FAIRROOT
Goto Forum:
  


Current Time: Fri Dec 06 07:41:26 CET 2024

Total time taken to generate the page: 0.00989 seconds