D Compiler as Docker Image

Eugene Wissner via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Feb 17 10:51:36 PST 2017


On Tuesday, 14 February 2017 at 23:24:03 UTC, Stefan wrote:
> Want to share the outcome of a vivid discussion today at the 
> Munich D Meetup with you.
>
> Installation of a D Compiler is ok-ish. But sometime you don't 
> want to install it. Sometimes you want a very clean 
> compiler-environment. Sometimes you want to compile your 
> projects in the cloud and not on your local PC.
>
> To ease this a bit I drafted Docker Images for the Compilers 
> (dmd, ldc, gdc, sdc) [1]. Based on this you have a clean 
> compilation environment. And you even could use dub with it. No 
> installation anymore.
>

Seems to be very useful for testing. I have mostly only the 
latest stable dmd installed in the system. But need to test 
against elder versions and other compilers before travis reports 
that the build fails.


More information about the Digitalmars-d-announce mailing list