November 13
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote:
> ```
> apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing ldc ldc-static dtools-rdmd dub
> ```

A hello world vibe project doesn't build for me using a Dockerfile using your template. I tried to add missing deps, but I couldn't really figure out what's missing.

I get an error during the `dub build` step:

```
eventcore 0.8.48: building configuration "epoll"...
/root/.dub/packages/eventcore-0.8.48/eventcore/source/eventcore/drivers/posix/processes.d(316,10): Error: module `core.sys.posix.sys.wait` import `idtype_t` not found`
```

My full Dockefile:

```
FROM alpine:edge as builder

RUN apk --no-cache add build-base git
RUN apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing ldc ldc-static dtools-rdmd dub
RUN apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libevent ibevent-dev

WORKDIR /tmp/app

ADD source ./source
ADD dub.json ./

RUN dub build  --compiler=ldc2
```
November 26
On Wednesday, 13 November 2019 at 12:27:52 UTC, user wrote:
> On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote:
>> ```
>> apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing ldc ldc-static dtools-rdmd dub
>> ```
>
> A hello world vibe project doesn't build for me using a Dockerfile using your template. I tried to add missing deps, but I couldn't really figure out what's missing.
>
> I get an error during the `dub build` step:
>
> ```
> eventcore 0.8.48: building configuration "epoll"...
> /root/.dub/packages/eventcore-0.8.48/eventcore/source/eventcore/drivers/posix/processes.d(316,10): Error: module `core.sys.posix.sys.wait` import `idtype_t` not found`
> ```
>
> My full Dockefile:
>
> ```
> FROM alpine:edge as builder
>
> RUN apk --no-cache add build-base git
> RUN apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing ldc ldc-static dtools-rdmd dub
> RUN apk --no-cache add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libevent ibevent-dev
>
> WORKDIR /tmp/app
>
> ADD source ./source
> ADD dub.json ./
>
> RUN dub build  --compiler=ldc2
> ```

Unfortunately recent versions of Vibe.d seems to be broken with Alpine.
We use eventcore v0.8.43, Vibe.d v0.8.6, vibe-core v1.7.0.
I'll see if I can get a CI in place for Vibe (and fix the issues). Thanks for reporting!
Next ›   Last »
1 2