www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Alpine support for D

reply Jesse Phillips <Jesse.K.Phillips+D gmail.com> writes:
I notice that in the new release for Alpine Linux it mentions 
support for D.

I was curious what was meant by this and thought someone here 
would know. Just high level, like druntime was ported or packages 
added to the repo?
Jun 09 2020
next sibling parent MoonlightSentinel <moonlightsentinel disroot.org> writes:
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
 I notice that in the new release for Alpine Linux it mentions 
 support for D.
Announcement: https://forum.dlang.org/thread/raue6j$1vp4$2 digitalmars.com
Jun 09 2020
prev sibling parent reply aberba <karabutaworld gmail.com> writes:
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
 I notice that in the new release for Alpine Linux it mentions 
 support for D.

 I was curious what was meant by this and thought someone here 
 would know. Just high level, like druntime was ported or 
 packages added to the repo?
Tradionally you'd run D on something like Ubuntu, etc but Alpine is lightweight which is a good thing when building docker containers. Alpine uses a different C runtime musl?? among other things whilst D uses use libc. So I believe we now have bindings musl too to get D to work on Alpine.
Jun 09 2020
next sibling parent aberba <karabutaworld gmail.com> writes:
On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote:
 On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
 I notice that in the new release for Alpine Linux it mentions 
 support for D.

 I was curious what was meant by this and thought someone here 
 would know. Just high level, like druntime was ported or 
 packages added to the repo?
Tradionally you'd run D on something like Ubuntu, etc but Alpine is lightweight which is a good thing when building docker containers. Alpine uses a different C runtime musl?? among other things whilst D uses use libc. So I believe we now have bindings musl too to get D to work on Alpine.
https://en.m.wikipedia.org/wiki/Musl
Jun 09 2020
prev sibling parent reply Jesse Phillips <Jesse.K.Phillips+D gmail.com> writes:
On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote:
 On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
 I notice that in the new release for Alpine Linux it mentions 
 support for D.

 I was curious what was meant by this and thought someone here 
 would know. Just high level, like druntime was ported or 
 packages added to the repo?
Tradionally you'd run D on something like Ubuntu, etc but Alpine is lightweight which is a good thing when building docker containers. Alpine uses a different C runtime musl?? among other things whilst D uses use libc. So I believe we now have bindings musl too to get D to work on Alpine.
Thank you. So it sounds like there are D compiler packages, and you can use alpine to execute programs written in D.
Jun 10 2020
parent Andre Pany <andre s-e-a-p.de> writes:
On Wednesday, 10 June 2020 at 12:59:33 UTC, Jesse Phillips wrote:
 On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote:
 On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
 I notice that in the new release for Alpine Linux it mentions 
 support for D.

 I was curious what was meant by this and thought someone here 
 would know. Just high level, like druntime was ported or 
 packages added to the repo?
Tradionally you'd run D on something like Ubuntu, etc but Alpine is lightweight which is a good thing when building docker containers. Alpine uses a different C runtime musl?? among other things whilst D uses use libc. So I believe we now have bindings musl too to get D to work on Alpine.
Thank you. So it sounds like there are D compiler packages, and you can use alpine to execute programs written in D.
Yes, here a Dockerfile example, which installs ldc and dub. ``` FROM alpine:3.12 as base RUN apk add --update alpine-sdk ldc dub openssl-dev zlib-dev ``` Kind regards Andre
Jun 10 2020