Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
June 09, 2020 Alpine support for D | ||||
---|---|---|---|---|
| ||||
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? |
June 09, 2020 Re: Alpine support for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | 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 |
June 10, 2020 Re: Alpine support for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | 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.
|
June 10, 2020 Re: Alpine support for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | 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 |
June 10, 2020 Re: Alpine support for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | 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.
|
June 10, 2020 Re: Alpine support for D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | 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
|
Copyright © 1999-2021 by the D Language Foundation