D for microservices

Joakim dlang at joakim.fea.st
Sun Feb 25 22:12:38 UTC 2018


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.


More information about the Digitalmars-d mailing list