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 ... WORKDIR /build COPY dub.s* ./ RUN dub build -v —config=build-deps COPY src ./src RUN dub build -v —config=executable ...
Fantastic, thanks a lot. Kind regards Andre