Hi there,
We are developing a C++ library and executables, but we are currently
using several docker images and we would like to use only just one.
Would it be possible to use only Alpine Docker image to build the C++
library or executable and run it on other Linux distros such as Debian
based or RedHat based ? If so, how could we do that?
I've checked the Alpine Documentation and I didn't find anything related
in either FAQs or Tutorial and Howtos.
Thanks in advance,
--
Emilio Garcia Quintana
emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
*Software Engineer*
Tel: +34 93 737 97 88 <tel:0034937379788>
Ext: 933002 <tel:933002>
Campus UAB, Carrer de Can Magrans, s/n
08193 Cerdanyola del Vallés
ICE Logo
Institute of Space Sciences (CSIC-IEEC)
http://www.ice.csic.es <http://www.ice.csic.es>
Hi,
On Mon, 17 May 2021, Emilio Garcia wrote:
> Hi there,>> We are developing a C++ library and executables, but we are currently using > several docker images and we would like to use only just one.>> Would it be possible to use only Alpine Docker image to build the C++ library > or executable and run it on other Linux distros such as Debian based or > RedHat based ? If so, how could we do that?
You would need to use static linking for your executables. It is not
possible to build shared/dynamic libraries or executables that will work
on GNU/Linux from the Alpine environment.
Ariadne
Hi Ariadne
Okay, I understood.
Thank you very much
Emilio Garcia Quintana
emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
*Software Engineer*
Tel: +34 93 737 97 88 <tel:0034937379788>
Ext: 933002 <tel:933002>
Campus UAB, Carrer de Can Magrans, s/n
08193 Cerdanyola del Vallés
ICE Logo
Institute of Space Sciences (CSIC-IEEC)
http://www.ice.csic.es <http://www.ice.csic.es>
On 5/17/21 1:12 PM, Ariadne Conill wrote:
> Hi,>> On Mon, 17 May 2021, Emilio Garcia wrote:>>> Hi there,>>>> We are developing a C++ library and executables, but we are >> currently using several docker images and we would like to use only >> just one.>>>> Would it be possible to use only Alpine Docker image to build the C++ >> library or executable and run it on other Linux distros such as >> Debian based or RedHat based ? If so, how could we do that?>> You would need to use static linking for your executables. It is not > possible to build shared/dynamic libraries or executables that will > work on GNU/Linux from the Alpine environment.>> Ariadne
On 21-05-17 13:24:47, Emilio Garcia wrote:
> Hi Ariadne> > Okay, I understood.> > Thank you very much> > Emilio Garcia Quintana> emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>> *Software Engineer*> Tel: +34 93 737 97 88 <tel:0034937379788>> Ext: 933002 <tel:933002>> > Campus UAB, Carrer de Can Magrans, s/n> 08193 Cerdanyola del Vallés>
No you don't understand. Go back to school and also learn posting
etiquette while you're at it.
Hello,
On Mon, 17 May 2021, doa379 wrote:
> On 21-05-17 13:24:47, Emilio Garcia wrote:>> Hi Ariadne>>>> Okay, I understood.>>>> Thank you very much>>>> Emilio Garcia Quintana>> emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>>> *Software Engineer*>> Tel: +34 93 737 97 88 <tel:0034937379788>>> Ext: 933002 <tel:933002>>>>> Campus UAB, Carrer de Can Magrans, s/n>> 08193 Cerdanyola del Vallés>>>>>> No you don't understand. Go back to school and also learn posting> etiquette while you're at it.
Alpine has a Code of Conduct[1], which this message clearly violates.
Please familiarize yourself with the Code of Conduct before posting to any
Alpine list in the future. Further violations will result in revocation
of your abilities to post to Alpine lists.
Thanks.
Ariadne
[1]: https://alpinelinux.org/community/code-of-conduct.html