Which Docker to use?

Jon Degenhardt jond at noreply.com
Sat Oct 20 20:57:36 UTC 2018


On Friday, 19 October 2018 at 22:16:04 UTC, Ky-Anh Huynh wrote:
> On Wednesday, 17 October 2018 at 23:15:53 UTC, Jon Degenhardt 
> wrote:
>>
>> I need to use docker to build static linked Linux executables. 
>> My reason is specific, may be different than the OP's. I'm 
>> using Travis-CI to build executables. Travis-CI uses Ubuntu 
>> 14.04, but static linking fails on 14.04. The standard C 
>> library from Ubuntu 16.04 or later is needed. There may be 
>> other/better ways to do this, I don't know.
>
> Yes I'm also using Travis-CI and that's why I need some Docker 
> support.

I'm using dlanguage/ldc. The reason for that choice was because 
it was what was available when I put the travis build together. 
As you mentioned, it hasn't been updated in a while. I'm still 
producing this build with an older ldc version, but when I move 
to a more current version I'll have to switch to a different 
docker image.

My travis config is here: 
https://github.com/eBay/tsv-utils/blob/master/.travis.yml. Look 
for the sections referencing the DOCKERSPECIAL environment 
variable.


More information about the Digitalmars-d-learn mailing list