D for microservices

Joakim dlang at joakim.fea.st
Mon Mar 5 17:58:25 UTC 2018


On Monday, 5 March 2018 at 14:34:44 UTC, aberba wrote:
> On Sunday, 25 February 2018 at 22:12:38 UTC, Joakim wrote:
>> On Sunday, 25 February 2018 at 16:51:09 UTC, yawniek wrote:
>>> great stuff, thank you! this will be very useful!
>>>
>>> Q: what would be needed to build a single binary (a la 
>>> golang) that works in a FROM SCRATCH docker container?
>>
>> I don't know, presumably you're referring to the static 
>> linking support Jacob mentioned earlier in this thread.  I 
>> have not tried that.
>>
>> On Sunday, 25 February 2018 at 17:48:34 UTC, aberba wrote:
>>> I usually ship and compile code in Alpine itself. Once I have 
>>> an ldc compiler with Alpine as base image,  I'm good to go. 
>>> Some platforms like OpenShift will rebuild when a release is 
>>> triggered in git master... Copying binary require some hacks.
>>
>> OK, I will look at releasing a native ldc binary for Alpine 
>> with the upcoming 1.8 release.
>
> LDC 1.8 is out!

The Alpine build is up, let me know if you have any problems.  
Note the changelog entry that says you'll need to install llvm 
and maybe other packages from the Alpine package manager first.


More information about the Digitalmars-d mailing list