digitalmars.D.learn - Alpine support for D
- Jesse Phillips (5/5) Jun 09 2020 I notice that in the new release for Alpine Linux it mentions
- MoonlightSentinel (3/5) Jun 09 2020 Announcement:
- aberba (6/11) Jun 09 2020 Tradionally you'd run D on something like Ubuntu, etc but Alpine
- aberba (2/14) Jun 09 2020 https://en.m.wikipedia.org/wiki/Musl
- Jesse Phillips (3/15) Jun 10 2020 Thank you. So it sounds like there are D compiler packages, and
- Andre Pany (8/24) Jun 10 2020 Yes, here a Dockerfile example, which installs ldc and dub.
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
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
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
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:https://en.m.wikipedia.org/wiki/MuslI 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
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:Thank you. So it sounds like there are D compiler packages, and you can use alpine to execute programs written in 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?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 10 2020
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: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 AndreOn Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:Thank you. So it sounds like there are D compiler packages, and you can use alpine to execute programs written in 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?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 10 2020