Re: How to pre build vibe-d dub package

2020-05-30 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 30 May 2020 at 00:12:20 UTC, kookman wrote: On Friday, 29 May 2020 at 11:45:24 UTC, Andre Pany wrote: André I do it by defining a configuration “build-deps” in my dub.sdl with target type “none” and then doing the build as two steps in the dockerfile: ``` dockerfile ...

Re: How to pre build vibe-d dub package

2020-05-29 Thread kookman via Digitalmars-d-learn
On Friday, 29 May 2020 at 11:45:24 UTC, Andre Pany wrote: André I do it by defining a configuration “build-deps” in my dub.sdl with target type “none” and then doing the build as two steps in the dockerfile: ``` dockerfile ... WORKDIR /build COPY dub.s* ./ RUN dub build -v

How to pre build vibe-d dub package

2020-05-29 Thread Andre Pany via Digitalmars-d-learn
Hi, I have a docker image in which a vibe-d application is build from source code. Every time a file is changed, unfortunately the whole vibe-d dub packages are retrieved again from dub registry and compiled again (which takes ages). In my app.json I have these dependency declaration: ```