On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote:
Hi all,
Recently there have been inquiries about support for D on
Alpine Linux, a distribution mostly used in combination with
Docker to create lightweight container images for microservices.
At BPF Korea, we're working on a blockchain written in D, and
wanted to be able to easily test and distribute our node using
Alpine images, but there was no package for it yet.
However, thanks to the work of many contributors before (Joakim
Noah, yshui, Petar Kirov/zombinedev, and many others), most of
the porting was already done and it was just a matter of fixing
a few small issues and and creating the package definitions.
A package for `dub` (v1.18.0), `dtools` (ddemangle & rdmd), and
`ldc` (v1.18.0) are now available in the `testing` repository
of Alpine Linux edge. As `testing` is not enabled by default,
you will need to specify the repository (or add it to your
`/etc/apk/repositories`) when installing the packages.
For example:
```
apk --no-cache add -X
http://dl-cdn.alpinelinux.org/alpine/edge/testing ldc
ldc-static dtools-rdmd dub
```
this not install the lto static lib, how can i build lto static
lib for alpine ?