diff --git a/Dockerfile b/Dockerfile index 6136d02..644384e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM nimlang/nim:alpine as builder -RUN apk update && apk add git build-base llvm llvm-dev curl bash openssl openssl-dev openssl-libs-static sqlite-dev sqlite-static +RUN apk update && apk add git build-base llvm llvm-dev lld curl bash openssl openssl-dev openssl-libs-static sqlite-dev sqlite-static COPY . /app WORKDIR /app @@ -18,6 +18,7 @@ RUN nimble build --passL:-L/usr/lib \ --passl:-lcrypto \ --passL:-static \ --passL:"-flto=full" \ + --passL:"-fuse-ld=lld" \ -d:release \ --opt:speed \ --accept